What will be the output of the following Java code?
int arr[] = new int [5];
System.out.print(arr);
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: Option D
Join The Discussion