Quantcast
Channel: Java between private and protected - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Evgeniy Dorofeev for Java between private and protected

1) you cannot create a custom acceess modifier in Java 2) you can seal a package in a jar, see http://docs.oracle.com/javase/tutorial/ext/security/sealing.html3) you can find the calling class,...

View Article



Java between private and protected

I have a class with a method which I want to be accessible only for its child objects, and not for other classes in this package. Modifier | Class | Package | Subclass |...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images