Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 < movies.length; i++){
- System.out.println("Dans le film "+movies[i]+", les principaux acteurs sont: "+actors[i][0]+","+actors[i][1]+","+actors[i][2]+".");
- };
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement