हिंदी

______ access specifier does not allow any member to be accessed out of the class.

Advertisements
Advertisements

प्रश्न

______ access specifier does not allow any member to be accessed out of the class.

विकल्प

  • Private

  • Public

  • Protected

  • Default

MCQ
रिक्त स्थान भरें
Advertisements

उत्तर

Private access specifier does not allow any member to be accessed out of the class.

Explanation:

  • The private access specifier does not allow any class member to be accessed from outside the class.
  • It provides data security by restricting direct access to variables and methods.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1: Revision of Class 9 Syllabus - Exercises [पृष्ठ ४२]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 1 Revision of Class 9 Syllabus
Exercises | Q 1. (vi) | पृष्ठ ४२
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×