PHP OOPS | OOPS Concept In PHP

OOPS Stands for Object Oriented Programing, is a programming style in which it is customary to group all of the variables and functions of a particular topic into a single class. In procedural programming language you statements or lines of codes for the computer to execute. You tell the Computer what to do in basic concept. But at the same time another programming developer “Alan Kay” has discovered a new type of programming called Object Oriented Programming. OOPS Programming Language based on the Concept Classes and Object.

bject oriented World

  • This universe is full of Objects Like sun, earth, moon, car everything is an Object.
  • Every Object has its own Properties and some of them also has abilities to perform some specific actions.
  • These objects also interact each others.

What About Classes and how to understand them

Some Objects are same their behavior is exactly same but they are slightly different in their properties.

OOPS CONCEPT

  • CLASS
  • OBJECT
  • MEMBER FUNCTION
  • INHERITANCE
  • PARENT CLASS
  • CHILD CLASS
  • POLYMORPHISM
  • OVERLOADING
  • DATA ABSTRUCTION
  • ENCAPSLUTION