Data hiding is the method that is used to hide the data of a class from the outside world. This is done so that the data is saved from any accidental or intentional access. This is done by making the members of the class private.
Data abstraction means providing only the essential information to the outside world while hiding the background details.