freeCodeCamp/guide/english/java/data-abstraction/index.md

17 lines
738 B
Markdown

---
title: Data Abstraction
---
## Definition
As per dictionary, abstraction is the quality of dealing with ideas rather than events.
Likewise in Object-oriented programming, abstraction is a process of hiding the implementation details from the user, only the functionality will be provided to the user. In other words, the user will have the information on what the object does instead of how it does it.
In Java, abstraction is achieved using Abstract classes and interfaces.
## Resources
[Tutorials Point - Java Abstract classes and interfaces](https://www.tutorialspoint.com/java/java_abstraction.htm)
<br />
[Java Tutorials - Java Abstract methods and classes](https://docs.oracle.com/javase/tutorial/java/IandI/abstract.html)