Java Locale getDisplayLanguage() methodThe getDisplayLanguage(Locale inLocale) method of Java Locale class returns a name for the locale's language that is appropriate for display to the user. If possible, the name returned will be localized according to inLocale. SyntaxParameterNA ReturnThis method does not return a value. Example 1Output: Locale: en_INDIA Language of in locale1: English Example 2Output: Locale1 name: en_INDIA Locale2 name: fr_ECUADOR Language of in locale1: English Language of in locale2: French Next TopicJava-locale-getdisplayname-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