Abstraction is the concept of "shows" only essential attributes and "hides" unnecessary information.
The main purpose of abstraction is hiding the unnecessary details from the users.
Abstraction in oops with example in php?
What is abstraction in OOP?
Abstraction is used for Security, it is the process of hiding the implementation details
and showing only the functionality to the user.
Abstraction can achieve in two ways.
1. abstract class
2. interface
it will use the concept of method overridding.
Abstraction is the concept of "shows" only essential attributes and "hides" unnecessary information.
The main purpose of abstraction is hiding the unnecessary details from the users.