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 difference between multiple inheritance and multilevel inheritance?
Can a destructor be called directly?
Can we create object of interface?
What is encapsulation process?
What is purpose of inheritance?
Can you inherit a private class?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What are objects in oop?
What is polymorphism in oop example?
What is inheritance in oop?
What is the important feature of inheritance?
Are polymorphisms mutations?
Give two or more real cenario of virtual function and vertual object
Explain the concepts involved in Object Oriented programming.
What is abstraction in oops?