Skip to content

Instantly share code, notes, and snippets.

@wilderwith
Created October 23, 2019 22:08
Show Gist options
  • Save wilderwith/b3e45e1427552fb17a4c3e80601bec0c to your computer and use it in GitHub Desktop.
Save wilderwith/b3e45e1427552fb17a4c3e80601bec0c to your computer and use it in GitHub Desktop.
Quete java 4
class Movies{
public static void main(String[] args) {
String[] movies =
{"Indiana Jones and the Kingdom of the Crystal Skull", "Indiana Jones and the Last Crusade","Indiana Jones and the Temple of Doom"
};
String[][] actors={
{"Harrison Ford", "Cate Blanchett","Karen Allen"},
{"Harrison Ford", "Sean Connery", "Denholm Elliott"},
{"Harrison Ford", "Kate Capshaw", "Jonathan Ke Quan"},
};
for(int i=0; i<3; i++){
System.out.println("Dans le film " + movies[i] +", les principaux acteurs sont : " + actors[i][0]+ ", " + actors[i][1] + ", " + actors[i][2]);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment