what abstraction in OOP code example
Example: abstraction in oops
Abstraction is the concept of object-oriented programming that "shows" only essential attributes and "hides" unnecessary information.
The main purpose of abstraction is hiding the unnecessary details from the users.
It helps in reducing programming complexity and efforts.