(B) Base class constructor followed by derived class constructor.
(C) Base class constructor will not be called.
(D) Derived class constructor will not be called.
Answer (B)
1. Whether derived class's default constructor is called or parameterised is called, base class's default constructor is always called inside them.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.