Java Locale getISOLanguages() methodThe getISOLanguages() method of Locale class returns a list of all 2-letter language codes defined in ISO 639. This method can be used to create Locales. SyntaxParameterNA Return ValueThis method doesn't return any value. Example 1Output: Locale1: en_INDIA Languages are: 0:aa 1:ab 2:ae 3:af 4:ak 5:am 6:an 7:ar 8:as 9:av 10:ay 11:az 12:ba 13:be 14:bg 15:bh 16:bi 17:bm 18:bn 19:bo 20:br 21:bs 22:ca 23:ce 24:ch 25:co 26:cr 27:cs 28:cu 29:cv 30:cy 31:da 32:de 33:dv 34:dz 35:ee 36:el Example 2Output: Locale: ja_JAPAN Countries are: 0:aa 1:ab 2:ae 3:af 4:ak 5:am 6:an 7:ar 8:as Next TopicJava-locale-getlanguage-method |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India