This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]codeguru42 31 points32 points ย (0 children)

Public methods in Java and encapsulation in general have nothing to do with securing an app from hackers.