Q111
What will be the output of the following Java program? class Output public static void main(String args[]) int a1[] = new int[10]; int a2[] = 1, 2, 3, 4, 5; System.out.println(a1.length + " " + a2.length);
A.
10 5
AnswerB.
5 10
C.
0 10
D.
0 5
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board