0

Can we create an array of vectors in java?

let me give an example Vector v[]=new Vector[10]; S.o.p(v[0]); it throws null pointer exception why?

19th Jul 2017, 5:05 PM
X-D
1 Réponse
+ 2
Yep! Arrays can hold any data type, including objects.
19th Jul 2017, 5:27 PM
Keto Z
Keto Z - avatar