What is data abstraction or data hiding in java?
Abstraction means hiding unwanted details and showing what is wanted. By applying private access modifiers to data members of a class, we will hide the internal implementation details of the data. Thus we achieve data abstraction or data hiding (implementation hiding).
Hiding data in database is called as data hiding.
Implementing encapsulation in java is called as data hiding.
Back To Top