Answer to Question #272908 in Java | JSP | JSF for frank

Question #272908

Write a Java application and use a Two dimensional array to store five Dutch, French and Italian


translated words. Use a single array to store the English words.


Your program must:


Q.2.1 Contain a single array to contain the following five English words and a Two


dimensional array to store the following Dutch, French and Italian translated words.


ENGLISH WORD DUTCH WORD FRENCH WORD ITALIAN WORD


sky hemel ciel cielo


run rennen courir correre


study studie etude studia


music muziek musique musica


dog hond chien can

1
Expert's answer
2021-11-28T18:41:16-0500
public class Translator {
  public static void main(String[] args) {
    String[] eng = new String[5] {
        "sky", "run", "study", "music", "dog"
    };
    String[][] tran = new String[3][5] {
      { "hemel", "rennen", "studie", "muziek", "hond" },
      { "ciel", "courir", "etude", "musique", "chien" },
      { "cielo", "correre", "studia", "musica", "can" }
    };
  }
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS