Advertisements
Advertisements
प्रश्न
The access specifier that gives visibility to the world and to the objects is ______.
पर्याय
default
private
public
protected
MCQ
रिकाम्या जागा भरा
Advertisements
उत्तर
The access specifier that gives visibility to the world and to the objects is public.
Explanation:
The
public access specifier offers the highest level of visibility in Java. It allows a class, method, or variable to be accessed from absolutely anywhere in the application, meaning any other class or object in the entire project ("the world") can see and use it. shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
