हिंदी

Which of the members can be accessed globally? - Computer Applications

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Class as the Basis of all Computation (Objects and Classes) - EXERCISES [पृष्ठ ३८२]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 6 Class as the Basis of all Computation (Objects and Classes)
EXERCISES | Q I. 6. | पृष्ठ ३८२
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×