Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

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.

Advertisement
Assam Direct Recruitment Test Series