17 -4 -1 建立泛型類別-Generic. Stack 類別宣告 Class Generic. Stack(Of Item. Type) Private Data() As Item. Type Private Index As Integer ……… Public Function Is. Empty() As Boolean ……… End Function Public Sub Push(By. Val item As Item. Type) ……… End Sub Public Function Pop() As Item. Type ……… End Function End Class