Q.

How do you instantiate an array in Java?

A. int arr[] = new int(3);
B. int arr[];
C. int arr[] = new int[3];
D. int arr() = new int(3);
Answer» C. int arr[] = new int[3];
2.6k
0
Do you find this helpful?
12

View all MCQs in

Data Structures (DS)

Discussion

No comments yet

Related MCQs