Question d’entretien chez eClinicalWorks

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

Réponses aux questions d'entretien

Utilisateur anonyme

27 avr. 2014

Could you please expand?

37

Utilisateur anonyme

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

Utilisateur anonyme

21 août 2019

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

Utilisateur anonyme

27 juil. 2018

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

2