InterviewSolution
Saved Bookmarks
| 1. |
Suppose If A Method Is Declared As Protected, Where May The Method Be Accessed In Java Programming? |
|
Answer» A PROTECTED method may only be accessed by classes or INTERFACES of the same package or by subclasses of the CLASS in which it is declared. A protected method may only be accessed by classes or interfaces of the same package or by subclasses of the class in which it is declared. |
|