Is it mandatory that every class has to enforce data security fully, in java?
Yes, of course.
It depends on the project or design requirements. It doesn't enforce completely, but where ever it is required programmer can apply it by using access modifiers.
No. It is impossible to have data security in Java.
Back To Top