1.

Which of the following is / are the visibility symbols in Java?a) # b) ~ c) - d) All of these​

Answer»

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.



Discussion

No Comment Found