On the order of execution of Java code blocks when a class extends another class
Interview Answers
Anonymous
27 Apr 2014
Could you please expand?
37
Anonymous
15 Oct 2018
When a class extends another class, the execution of code is from parent to child. Firstly it calls the parent class methods/constructor after that child's class.
1
Anonymous
21 Aug 2019
When one class have Methods which we have to use in another class that time extend one class to other.
Anonymous
27 Jul 2018
This is the case of inheritance. Where we get all the methods of extended class to extending class