Question du test Java - Les bases

Quel est le résultat du code Java suivant ?

Intermédiaire
public class Example {
    public static void main(String[] args) {
        String str = "Hello";
        str.concat(" World");
        System.out.println(str);
    }
}

que produit il ce code Java ?

Auteur: EL MostafaStatut : PubliéeQuestion passée 22 fois
Modifier
0
Évaluations de la communauté
developer avatar
Manuvai
04/04/2024
Hi @El Mostafa, could you please * put your code between "```" sections for Markdown formatting ? * add the translation of : - the question - the possibilities of answer - the explanation ?
developer avatar
EL Mostafa
05/04/2024
c bon c fait merci pour votre remarque