Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Bank, GATE and NET


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

A int
B public
C boolean
D double
Answer & Explanation
Option: [B]

public is not a data type. It is a Java Access modifier. The other Access modifiers are private and protected.

Your Valuable Comments Please...

Please Like Us