B

Bhagwan Das • 4.44K Points
Extraordinary

Q. 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
  • Correct Answer - Option(D)
  • Views: 23
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics