1.

Always the base class constructors are called ___________ constructor of derived class.(a) Before(b) After(c) Along(d) According to priority of

Answer» Correct choice is (a) Before

The best I can explain: When the base class object is created, its constructor will be called for sure. But if a derived class constructor is called, first base class constructor is called and then derived class constructor is taken into consideration.


Discussion

No Comment Found

Related InterviewSolutions