Can anyone explain me the difference between data abstraction and encapsulation in oops..?
Data Abstraction is a process through which we can remove unnecessary data. Data encapsulation is wrapping up of data into a single frame called class so that it can be reused. Encapsulation is hiding the details of the implementation of an object so that there are no dependencies on the particular implementation.