Computer Science, asked by kadamsidharth8, 5 months ago

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 sibaprasad55
0

Answer:

option b is 101 percent correct answer

Explanation:

please mark me brainlist and follow me in brainly

Similar questions