The visibility of a property or method can be defined by prefixing the declaration with the keywords public, protected or private. Class members declared public can be accessed everywhere. Members declared protected can be accessed only within the class itself and by inherited classes. Members declared as private are not accessible.
A.TRUE
B.FALSE
Answers
Answered by
2
the visibility of a property or Method can be defined by prefixing the declaration with the keywords Public Protected or private class members declared public can we access everywhere member declared protected can be exceeded statement is true
GaganG:
hii
Similar questions
Math,
7 months ago
Biology,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Geography,
1 year ago