Before releasing a Java application, do the access modifiers on classes need to be changed or is there something else in place to prevent someone from just importing the final JAR into one of their projects and using the classes?
The only thing I can think of would be to make any public classes final, but it still leaves them exposed.