Examveda

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: Option C


This Question Belongs to Data Structure >> Introduction To Data Structures

Join The Discussion

Related Questions on Introduction to Data Structures