Skip to main content

Thread: Java - generic Array


since cannot create generic array because of type safety how can create array example in toarray() method?

creating generic array? mean want create array of specific type, or want create array of types? example want array of cat objects or array of type of object.

there generic arrays can used creating array of type. arraylist on java api.

if want array store object 's of various types... why want this?

paul


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Java - generic Array


Ubuntu

Comments

Popular posts from this blog

DHT11 Time out error using v0.4.1library

Sketch upload fails with Java error (___REMOVE___/bin/avrdude)!

Arduino Uno + KTY81/210 temperature sensor