Loading…

What is an object?

Object is an instance of a class. It has it's own behavior, and identity.

Example

                                        
//Create an object of MyClass 

$object = new MyCustomClass();

OR

$object = new MyCustomClass;

Suggest An Answer

No suggestions avaliable!

Latest post from oops interview questions

Ask Question