![]() |
Protected access modifier in Java
Hello, If I am not wrong then the method with protected access modifier can be accessed by the same package and the sub-class outside the package. But I have problem regarding the same I have two packages p1 and p2, but when I try to access the method (protected) of package p1 from package p2,...
|
| All times are GMT -4. The time now is 01:15 PM. |
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.