Which of the following is not a primitive data type in Java?
a) Boolean
b) Character
c) String
d) Byte
Solution: c) String
Explanation: String is a class in Java and not a primitive data type.