FileDocCategorySizeDatePackage
CountryLanguageCodes.javaAPI DocExample480Sun Jan 07 15:24:20 GMT 2001None

CountryLanguageCodes

public class CountryLanguageCodes extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)


    String [] countries = Locale.getISOCountries();
    String [] languages = Locale.getISOLanguages();
    int i;

    System.out.println("\nCountries:\n");
    for (i = 0; i < countries.length; i++)
      System.out.println(countries[i]);
    System.out.println("\nLanguages:\n");
    for (i = 0; i < languages.length; i++)
      System.out.println(languages[i]);