Which of the following is NOT a primitive data type in Java?
Key points
- String is a class, not a primitive data type
- Primitive data types store single values
- double, boolean, and char are examples of primitive data types
Ready to go further?
Key points
Ready to go further?