Q. Which of the following is not a primitive data type in Java?
β
Correct Answer: (D)
string
Explanation: The correct answer is Option D: string.