Answer Posted / preeti
Constructor execution is depend on its type like,
1) inbuilt or default construtor, no parameter constructor
are executes whenever object creates.
2) parameterized constructor execute whenever it calls.
3) base class constructor execute before than child class
constructor(child class is derived from base class
constructor).
| Is This Answer Correct ? | 21 Yes | 1 No |
Post New Answer View All Answers
Why is encapsulation used?
What does and I oop and sksksk mean?
What are classes oop?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
Prepare me a program for the animation of train
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
What is coupling in oop?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is encapsulation in oops?
Why it is called runtime polymorphism?
What is oops in simple words?
What is a superclass in oop?
which feature are not hold visual basic of oop?
Is enum a class?