logo

Crowdly

Browser

Add to Chrome

* TI505A-2526PSA01 - Java 2 : Programmation générique, fonctionnelle et concurrente (INGE-1-AFRIQUE, INGE-1-AFRIQUE-SEM-A)

Looking for * TI505A-2526PSA01 - Java 2 : Programmation générique, fonctionnelle et concurrente (INGE-1-AFRIQUE, INGE-1-AFRIQUE-SEM-A) test answers and solutions? Browse our comprehensive collection of verified answers for * TI505A-2526PSA01 - Java 2 : Programmation générique, fonctionnelle et concurrente (INGE-1-AFRIQUE, INGE-1-AFRIQUE-SEM-A) at moodle.myefrei.fr.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

En cas d’une

exception générée par une fonction appelée par une autre fonction, quel mot -clé doit on utiliser au niveau de la fonction appelée pour prévoir cette exception ?

View this question

Parmi les instructions suivantes, laquelle utilise correctement la classe HashMap<K, V> ?

HashMap<String, Integer> map = new HashMap<>(); 

View this question

FileNotFoundException

View this question

Dans le modèle 1, la méthode run est appelée par la méthode start.

100%
0%
View this question

Qu'affiche ce code ?

public class Exceptions_chapitre1 

{

public static void main(String args[])

{

try

{

System.out.print("J’adore" + " " + 1 / 10);

}

catch(ArithmeticException e)

{

System.out.print("Java");

}

}

}

100%
0%
0%
0%
View this question

Quelle(s) méthode(s) ne

stocke aucune autre valeur de type String après un espace ?

View this question

Dans quel cas il est préférable d'utiliser une ArrayList au lieu d'une LinkedList pour une application?

100%
0%
100%
0%
View this question

Dans quel(s) cas il est préférable d'utiliser une LinkedList au lieu d'une ArrayList pour une application?

0%
0%
View this question

Valentine,

Holiday, et Birthday héritent toutes de la classe Card. Pour que le code suivant soit correct, de quel type doit être la variable de référence card?

card = new Valentine( "A", 14 ) ;

card.greeting();

card =new Holiday( "B" ) ;

card.greeting();

card = new Birthday( "C", 12 ) ;

card.greeting();

100%
0%
0%
0%
View this question

Qu’affiche le code suivant sachant que l’input de l’utilisateur est «J’aime Java!» ?

Scanner scanner = new Scanner(System.in);

String str;

str = scanner.next();

System.out.print(str);

View this question

Want instant access to all verified answers on moodle.myefrei.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome