I have been thinking for a really long time about "implementation hiding in Java". Well, I know it is impossible (at least in theory), but there are some libraries (for example for ZIP files) that need to hide some code (because if anyone could see the code, they will be able to open fe. zip files without knowing the password).
I know that there is a way do make web services, but the application that is using some libraries might be offline app, so web services can't be a point too for everything.
Could you mind helping me to understand it well?