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.
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.
ITALIAN WORD
cielo
correre
studia
musica
cane
ciel
courir
etude
musique
chien
hemel
rennen
studie
muziek
hond
FRENCH WORD
Your program must:
ENGLISH WORD
sky
study
music
run
dog
DUTCH WORD
public class Main {
public static void main(String[] args) {
String[] english = {"sky", "study", "music", "run", "dog"};
String[][] translate = {{"cielo", "studia", "musica", "correre", "cane"},
{"ciel", "etude", "musique", "courir", "chien"},
{"hemel", "studie", "muziek", "rennen", "hond"}};
}
}
Comments
Leave a comment