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
Is this job good for future? can do this job post grduate student?
How do you answer polymorphism?
What are the types of abstraction?
What is difference between oop and pop?
Why is encapsulation used?
Why is polymorphism used?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What does enum stand for?
What is polymorphism in oop example?
Can destructor be overloaded?
What are the important components of cohesion?
Where You Can Use Interface in your Project
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is overriding in oops?
What is solid in oops?