How can a protected modifier be accessed?
Posted: Wed Jul 13, 2022 7:46 pm
a) accessible only within the class
b) accessible only within package
c) accessible within package and outside the package but through inheritance only
d) accessible by all
b) accessible only within package
c) accessible within package and outside the package but through inheritance only
d) accessible by all