Amazon Interview Question: A inherits from B, which inhe... | Glassdoor

Interview Question

Software Engineer Intern Interview

A inherits from B, which inherits from C. Will initializing

  A invoke constructor of C
Answer

Interview Answer

1 Answer

0

Yes. Implicit call would dictate the constructor of C being invoked.

Anonymous on Jan 21, 2016

Add Answers or Comments

To comment on this, Sign In or Sign Up.