InterviewSolution
Saved Bookmarks
| 1. |
Which of the following is / are the visibility symbols in Java? a) # b) ~ c) - d) All of these |
|
Answer» ong>EXPLANATION: Public − A public MEMBER is visible from anywhere in the SYSTEM. In class diagram, it is prefixed by the symbol '+'. Private − A private member is visible only from within the class. ... Protected − A protected member is visible from within the class and from the subclasses INHERITED from this class, but not from OUTSIDE. |
|