0

if an inner class is not declared private is it accesible from outside classes or not? i would appreciate any help

4th May 2017, 3:54 PM
shobhit
shobhit - avatar
2 Antworten
+ 12
You can access a public static nested class from outside. Check this tutorial for further information: https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html
4th May 2017, 4:58 PM
Tashi N
Tashi N - avatar