When is an object created and what is its lifetime?

Answer Posted / alok pandey

When the constructor called then object created thus while
the programme execute till life of object

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a mixin and inheritance?

614


How can you overcome the diamond problem in inheritance?

863


program for insertion ,deletion,sorting in double link list

2359


Explain virtual inheritance?

780


What is difference between data abstraction and encapsulation?

709






What does I oop mean?

710


How do you explain polymorphism?

683


Write a program to sort the number with different sorts in one program ??

1992


What is the oops and benefits of oops programming?

636


Explain the advantages of inheritance.

758


Why is there no multiple inheritance?

643


What is a null tree?

735


Can a varargs method be overloaded?

702


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6245


What exactly is polymorphism?

692