Data Hiding in Java

Data hiding is a technique used in objected oriented programming to hide data members of the class. hiding data members means no one from outside can directly access data members or modified data members. For accessing data external person needs to go through authentication or validation. data hiding increases the data security. for example, Instagram … Read more