A

Admin • 828.03K Points
Coach

Q. Which of the following can store both primitives and objects?

  • (A) int[]
  • (B) Object[]
  • (C) float[]
  • (D) boolean[]
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category Java
  • Hashtags: Java Array

Explanation by: Admin
Object[] can store references to any object type.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.