Hi eveybody,
I am new to java and as I was reading, I came accross the default access modifier i.e. package level access modifier which is used to restrict only the classes in the same package to access the class.
I've understood the concept and how it is applied technically but I am not able to figure out in which situations package level access would fit in. Can someone help me giving a short scenario or a practical example where package level access can be used.
thanks