Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. public class Main {
  2.  
  3. public static void main(String[] args) {
  4. String[] movies = new String[] {"Indiana Jones and the Raiders of the Lost Ark", "Indiana Jones and the Temple of Doom", "Indiana Jones and the Last Crusade"};
  5.  
  6. String moviesAndCast[][] = { {"Harrisson Ford Karen Allen Paul Freeman"} , {"Harrisson Ford Kate Capshaw Jonathan Ke Quan"} , {"Harisson Ford Sean Connery Denholm Elliott"} };
  7.  
  8. for (int i = 0; i < movies.length; i++) {
  9. System.out.println(" Dans le film " +movies[i] + ", les principaux acteurs sont : " +moviesAndCast[i][0]);
  10. }
  11.  
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement