If class C inherits class B, and B has inherited class A, then while creating the object of class C, what will be the sequence of constructors…

If class C inherits class B, and B has inherited class A, then while creating the object of class C, what will be the sequence of constructors getting called?

  1. a) Constructor of C then B, finally of A
  2. b) Constructor of A then C, finally of B
  3. c) Constructor of A then B, finally C
  4. d) Constructor of C then A, finally B

From the BUET MSC (ICT) July 2021 – MCQ exam, question 44 of 57.

More from this paper