#Cannot instantiate the type CollectionInteger
7 messages · Page 1 of 1 (latest)
Collection is an interface
you cannot instantiate an interface without implementing its methods
you have to provide array too and as @oak harness said, Collection is an interface
But you can use an ArrayList or any class that implements Collections instead