What is Object instantiation?

         when we declare a variable on primitive data like int float etc it is a single step process on the other hand when we want to use a variable in a class type Object it is two step process

1. the object will declared like a variable 

2. in step two the object will instantiate on the class type by using new keyword then only  object start refering that class type in the heap memory acquire data member property event method etc

*Property Events and Methods 

           A property is nothing but attributes of a method like name,height, width color etc

     Events are nothing but special kind of methods which get executed automatically whenever some action is performed by the customer like clicking button tick of checkbox radio button

     A method is nothing but action performed by the object 

Comments

Blogs