A

Admin • 833.24K Points
Coach

Q. What is the default value of elements in an array of objects?

  • (A) 0
  • (B) null
  • (C) empty string
  • (D) depends on the object
  • Correct Answer - Option(B)
  • Views: 34
  • Filed under category Java
  • Hashtags: Java Array

Explanation by: Admin

All object arrays are initialized with null values by default.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.