Correct Answer: While creating the object firstly the constructor of class A will be called followed by constructor of class B.