Home >> PHP >> What is abstraction in PHP

What is abstraction in PHP

Abstraction:-Hide complexity show functionality that means hide internal implementation and show only functionality to end user that is called abstraction.
Example:-

Mobile, Fan, AC & Car break, Car Gear Change
Implement by two way-
1)-Abstract class
2)-Interface

Post Your Comment

Next Questions
What is abstract class
Implementation of abstract method
What is interface
What is difference between abstract class and interface
What is inheritance
Inheritance types
What is single inheritance
What is multiple inheritance
What is multilevel inheritance
How to use static method and property in inheritance
How to use self and parent with static
How to use self and parent without static
What is visibility
What is the difference between public, private, and protected
What is final
What is final class
What is final method
What is final variable
How to print half pyramid using star
How to print half pyramid using number
How to print inverted half pyramid using star
How to print inverted half pyramid using number
How to print half pyramid using one to ten number
How to print pyramid pattern using star
How to print half pyramid pattern using star

Copyright ©2022 coderraj.com. All Rights Reserved.