The default visibility in java means that only other classes in the same java package can access it. Of course, I see its use and have used it several times.
On the other hand, 90% of the default visibility that I come across is just a developer who forgot to add any visibility keyword.
So, on the one hand, this is legal use, on the other hand, it often disguises bad code. What do you do in your development teams?
source share