Programming MCQs

Category: ComputerTotal Marks: 20

Question 15

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

int
float
string✓ Correct
boolean

Explanation

The correct answer is string because...