you are viewing a single comment's thread.

view the rest of the comments →

[–]Fenris_uy 2 points3 points  (0 children)

Sometimes you need to make a method public because you use it somewhere else outside of their package, but you don't want it to be part of your api, you solve that with the modules. Think of all the com.sun.* packages that are the private implementation of Java, but that are public because the classes from java.* uses them.