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.
public is not a data type.
It is a Java Access modifier.
The other Access modifiers are private and protected.