Can we create an array of vectors in java? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 2
Yep! Arrays can hold any data type, including objects.
19th Jul 2017, 5:27 PM
Keto Z
Keto Z - avatar