R

Ram Sharma • 193.86K 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: 1862
  • 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