Computer Science, asked by Khalidko1589, 1 year ago

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 meghakatiyar1
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