Array Interview Questions
Top ten most commonly asked interview questions about array will be covered in this lesson in form of a quiz.
We'll cover the following...
1
Choose the right way to initialize an integer array in java:
A)
int a[] = {1,2,3,4,5};
B)
int a[5] = {1,2,3,4,5};
C)
int a[] = new int[5];
D)
Both A and C
Question 1 of 100 attempted
Access this course and 1400+ top-rated courses and projects.