+ 1

Fourth Access modifier in Java?

I know of the basic modifiers (public, private, protected) but a friend asked me about a fourth one called "default". Can anyone help me please?

9th Oct 2019, 11:06 AM
Muhammad Abu Baker
Muhammad Abu Baker - avatar
1 ответ
+ 2
its package level access, its available to every other part of the code as long as its in the same package. its like public, but limited to its own package
9th Oct 2019, 12:34 PM
Taste
Taste - avatar