Advertisements
Advertisements
प्रश्न
Which of the members can be accessed globally?
विकल्प
Private
Public
Protected
All of the above
MCQ
उत्तर
Public
Explanation:
A class's public members have global access. This means they can be accessible from anywhere in the program, even classes other than the one in which they are specified.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?