Computer Science, asked by kadamsidharth8, 4 months ago

Q3
Consider the following program
public class Main {
public static void main(String args[]) {
char [] a = new char[0];
a [0]='i';
System.out.println(a);
}
}



Which of the following is an output of the above program?

a. i
b. Null
C. 0
d. Exception

Answers

Answered by Anonymous
6

Answer:

b. Null..........,....

Answered by Ꚃhαtαkshi
10

 \huge\boxed{\fcolorbox{white}{pink}{AnsweR}}

 \purple {\boxed {\boxed {\mathbb {b.~ null}}}}

Similar questions