

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this 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 |
B. | 5 10 |
C. | 0 10 |
D. | 0 5 |
Answer» B. 5 10 | |