मराठी

______ 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×