Which of the following is / are the visibility symbols in Java?
a) # b) ~ c) - d) All of these
Answers
Answered by
2
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.
Answered by
2
Question :-
Which of the following is / are the visibility symbols of Java?
a) #
b) ~
c) -
d) All of the above
Answer :-
d) All of the above.
Similar questions
Computer Science,
1 month ago
English,
1 month ago
Physics,
2 months ago
Business Studies,
9 months ago
Math,
9 months ago