When we create a class, we are creating a new data type and using this type we create objects. This can be done in one way i.e. using `new` operator which dynamically allocates memory for an object and returns a reference to it.
Eg.class_name x=new class_name;
Where, class_name is the class name and x is the object.
Agree With Answer 1 0
You must be Logged In to post an Answer.
Not a member yet? Sign Up Now »
Get all of your Papers Commented now!
Earn points for Posting and Commenting Papers!
©2012 Interview Questions
Can't find what you need? Take a moment and do a search below!