Single Choice
Not Set
QWhat is the result of compiling and running the following code?
public class Test{
public static void main(String[] args){
int[] a = new int[0];
System.out.print(a.length);
}
}
ID: #2198
Array in Java
6,510 views
Question Info
#2198Q ID
Not SetDifficulty
Array in JavaTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
0
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic