What is a Private Method?
A private method is a method which is not inherited by subclasses.
Declaring a method private defines its access level.
The other options for declaring visibility are public and protected.
If undeclared, the default access level is package.
|
Bookmark What ia a Private Method?

