Online GK Series

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

Connect with Universities & Study Abroad Experts Instantly Connect Now

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.

Your Valuable Comments Please...

Useful Computer Science EBooks