Latest Blogs

Learn about my progress!

Abstract Classes and Interfaces

Abstract Classes An abstract class is a class that is declared abstract—it may or may not include abstract methods. You cannot create an object of an abstract class. They can only be inherited and by another class. An abstract method is a method that is declared but not defined, like this: abstract function xyz(); If you want to create an abstract function you have to declare that cl...

Multiple Inheritance in PHP

Multiple Inheritance is a feature of Object Oriented Programming which inherits features from more than one object or class. We use Interfaces to implement them in more than one class.  interface I1 { public function fun1(); public function fun2(); } interface I2 { public function fun3(); public function fun4(); } class A { public function fun1(){ //do s...