+ 1

Another access-modifiers

i know that there is three access modifiers in java (public &private&protected) is there another access modifiers in this wonderful languge

29th Nov 2016, 4:50 PM
abdulmalek dery
abdulmalek dery - avatar
2 Respuestas
+ 2
so this modifier called no-name modifire ... any way.. thank u so much :-)
30th Nov 2016, 4:12 PM
abdulmalek dery
abdulmalek dery - avatar
0
If there is no modifier, as default, is set package-private. It's visible only whithin its package(more than private), but not visible for its subclasses(less than protected).
30th Nov 2016, 10:36 AM
Felipe Cruz
Felipe Cruz - avatar