Computer
- type:String
+ Computer(String type)+ getType() :String+ use() :void
IPad
+ IPad(String type)+ getType() :String+ use() :void
devices
NetworkDevice
+ getType():String+ use():void
DeviceFactory
- devices :Arraylist=new Arrayllist()- totalTerminal : int=0
+ DeviceFactory()+ AddDevice(NetworkDevice nd) :void+ getNetworkDevice(String type) :NetworkDevice+ getTotalDevice() int+ getTotalTerminal() :int
MobilePhone
+ MobilePhone(String type)+ getType() :String+ use() :void