MCQOPTIONS
Saved Bookmarks
| 1. |
The use of protected keyword to a member in a class will restrict its visibility as follows: |
| A. | Visible only inside the same package. |
| B. | Visible only in the class and its subclass in the same package. |
| C. | Visible only in the class where it is declare |
| D. | Visible in all classes in the same package and subclasses in other packages |
| Answer» E. | |