Online GK Series

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

Q.

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.

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand