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 [पृष्ठ १४८]
