Easy Tutorial
For Competitive Exams

Which of the following is NOT an example of a data type?

int
public
boolean
double
Explanation:
public is not a data type.
It is a Java Access modifier.
The other Access modifiers are private and protected.
Share with Friends
Privacy Copyright Contact Us