Beginner Java
Q2 / 100

Which of the following is NOT a Java primitive type?

Correct! Well done.

Incorrect.

The correct answer is B) String

B

Correct Answer

String

Explanation

String is a class in Java, not a primitive type. Java's eight primitives are byte, short, int, long, float, double, boolean, and char.

Progress
2/100