मराठी

The members under default can be accessed by the objects of the class.

Advertisements
Advertisements

प्रश्न

The members under default can be accessed by the objects of the class.

पर्याय

  • True

  • False

MCQ
Advertisements

उत्तर

True

Explanation:

Members with default access (no access modifier) can be accessed by objects of the same class and by other classes within the same package. They cannot be accessed from classes outside the package.

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Encapsulation - Exercises [पृष्ठ १४८]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×