Object-Oriented Programming: Part II

Coding with object-oriented programming continues in this lesson, using object and class methods such as property_exists(), method_exists(), inheritance, parent and child classes, the scope resolution operator, and accessing class methods via the static keyword. The example below demonstrates the class Person as the parent class with a static function that can be called with a scope resolution operator. The calss Blogger is a child of class person, and has its own constant, cats.