English

Visibility modes decide the access provided to the members from the target - Computer Applications

Advertisements
Advertisements

Question

Visibility modes decide the access provided to the members from the target. 

Options

  • True

  • False

MCQ
True or False

Solution

This statement is False.

Explanation:

Visibility modes (or access modifiers), such as public, private, protected, and default (package-private), govern members' accessibility from various classes or inheritance contexts. However, the statement is incorrect since it uses the phrase "access from the target," which is imprecise or incorrect wording. 

shaalaa.com
  Is there an error in this question or solution?
Chapter 8: Encapsulation and Inheritance - EXERCISES [Page 445]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 8 Encapsulation and Inheritance
EXERCISES | Q III. 6. | Page 445
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×