मराठी

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×