Q4
Consider the program given below.
public class Main {
public static void main(String args[]) {
int [] a = new int[20];
System.out.println(a[10]);
}
}
Which of the following is an output of the above program?
.
a. 0
b. Compile time error
c. Runtime error
d. Garbage vale
Answers
Answered by
0
Answer:
option b is 101 percent correct answer
Explanation:
please mark me brainlist and follow me in brainly
Similar questions
Social Sciences,
2 months ago
Science,
2 months ago
English,
5 months ago
Science,
9 months ago
English,
9 months ago