eClinicalWorks Interview Question: On the order of execution of ... | Glassdoor.co.in

Interview Question

Java Developer Interview Westborough, MA (US)

On the order of execution of Java code blocks when a class

  extends another class
Answer

Interview Answer

4 Answers

34

Could you please expand?

Anonymous on 26-Apr-2014
2

This is the case of inheritance. Where we get all the methods of extended class to extending class

Anonymous on 26-Jul-2018
1

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.

Maddy on 15-Oct-2018
0

When one class have Methods which we have to use in another class that time extend one class to other.

Anonymous on 21-Aug-2019

Add Answers or Comments

To comment on this, Sign In or Sign Up.