A

Admin • 828.03K Points
Coach

Q. Which of the following is true about primitives?

  • (A) You can call methods on a primitive.
  • (B) You can convert a primitive to a wrapper class object simply by assigning it.
  • (C) You can convert a wrapper class object to a primitive by calling valueOf().
  • (D) You can store a primitive directly into an ArrayList.
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category Java
  • Hashtags:

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.