What is an Abstract Class?
Abstract classes are classes which cannot be directly initialized. Other things to remember about this type of class are:
1. Abstract classes cannot create an object of abstract class
2. Abstract classes are created for inheritance purpose
3. Abstract classes can only be inherited by the child class
Abstract classes in PHP are similar to other OOP languages. You create an abstract class using the abstract keyword.
// #1-Abstract classes cannot create an object of abstract class.
// #2-Abstract classes are created for inheritance purpose.