Protected Method |
|
A protected method can be called by any subclass within its class, but not by unreleated classes. Declaring a method protected defines its access level. The other options for declaring visibility are private and public. If undeclared, the default access level is package. blog comments powered by Disqus |
Discuss Protected Method in the forums.

