What is the main difference between creating an object of a class and extending a class.In both the cases we can use the methods and properties of the class which is been extended or made an object

In reply to gordon:

Thanks a lot Gordon

You say " class_Extended contains an instance of a class_Main because it IS an instance of class_Main."
Actually class_Extended is an extended class of class_Main .

I am still confused with the explanation .