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...
We'll cover the following...
Technical Quiz
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
1 / 10