Vidyalelo
Java Programming · Q48

Array

Programming · Java Programming · question 48

Q48

What will be the output of the following Java code? int arr[] = new int [5]; System.out.print(arr);

A.
0
B.
value stored in arr[0]
C.
00000
D.
Class name@ hashcode in hexadecimal form
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board