मराठी

The access specifier that gives visibility to the world and to the objects is ______.

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Encapsulation - Exercises [पृष्ठ १४७]

APPEARS IN

रूपा पंडित Computer Applications [English] Class 10 ICSE
पाठ 6 Encapsulation
Exercises | Q 1. (i) | पृष्ठ १४७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×