D

Deepak Sahoo • 10.78K Points
Tutor II

Q. Which of the following is not a primitive data type in Java?

  • (A) Boolean
  • (B) Character
  • (C) String
  • (D) Byte
  • Correct Answer - Option(C)
  • Views: 152
  • Filed under category JAVA

Explanation by: Deepak Sahoo
String is a class in Java and not a primitive data type.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics