adplus-dvertising
frame-decoration

Question

What will this code print?
    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

Posted under Java Programming

Answer: (d).Class name@ hashcode in hexadecimal form

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will this code print?