Object-Oriented Programming in Java — Abstraction

Nickson Joram
Analytics Vidhya
Published in
6 min readMay 16, 2021

--

To reduce complexity, abstraction in Object-Oriented Programming refers to showing only the essential features of an object to the user and hiding the inner details. In other words, the user only needs to know “what an object does?” rather than “how it does?”

Photo by Tirza van Dijk on Unsplash

Example

--

--