ICSE Class 10 Computer Applications
Question 15 of 16
Encapsulation and Inheritance — Question 5
Back to all questions 5
Question Question 5
A member variable declared with no access specifier has visibility in ............... .
- Class and package only
- Class, package and subclass only
- Class and subclass only
- Class only
Class and package only
Reason — A member variable declared with no access specifier has visibility in the same class and other classes of the same package only.