Abstraction in Java

Abstraction is a process of hiding the implementation details and showing only functionality to the user.

Here’s an example of abstraction: pressing the accelerator will increase the speed of the car. But the driver doesn’t know how pressing the accelerator increases the speed — because they don’t have to know that.

Technically abstract means something incomplete or to be completed later.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store