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
What is cohesion in oop?
write knight tour problem which is present in datastructure
Why do pointers exist?
How Do you Code Composition and Aggregation in C++ ?
What is the use of oops?
Why is destructor used?
Write a c++ program to display pass and fail for three student using static member function
Why is encapsulation used?
What is polymorphism what are the different types of polymorphism?
What is difference between abstraction and encapsulation?
Can we have inheritance without polymorphism?
When not to use object oriented programming?
What do you mean by overloading?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is the point of polymorphism?