Q. What is the output of the below Java code snippet?
Code:
int[] balls = {};
System.out.print(balls.length);
β
Correct Answer: (A)
0
int[] balls = {};
System.out.print(balls.length);
You must be Logged in to update hint/solution