हिंदी

Name the access specifiers provided by Java.

Advertisements
Advertisements

प्रश्न

Name the access specifiers provided by Java.

लघु उत्तरीय
Advertisements

उत्तर

  1. default: Visible to the package and to the objects
  2. private: Visible to the class only and not to the objects
  3. public: Visible to the world and to the objects
  4. protected: Visible to the package and all to subclasses and the objects
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Encapsulation - Exercises [पृष्ठ १४८]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 6 Encapsulation
Exercises | Q 2. (ii) | पृष्ठ १४८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×