Question d’entretien chez BT Group

java question inheritance,multi threading,core java. 1. public class Test { public static void main(String[] args) { Test test=new Test(); System.out.println("1"); try{ return; }finally{ System.out.println("2"); } System.out.println(test instanceof TP1);//line 1 }

Réponse à la question d'entretien

Utilisateur anonyme

10 déc. 2016

it is a compiler error line 1 is unreachable code

2