What will be the output of the following Java program?import java.util.*;class LOCALE_CLASS{public static void main(String args[]){Locale obj = new Locale("HINDI", "INDIA") ;System.out.print(obj.getDisplayLanguage());}}

🎲 Try a Random Question  |  Total Questions in Quiz: 26  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Java Basics Practice Test: java.util - More Utility Classes — practice the complete quiz, review flashcards, or try a random question.

Quiz on more utility classes including locale, random number and classes, timer class, formatter, internationalization, i18n with date, number, currency and time.
 

Related Test: Java Basics Practice Test: java.util &The Collections Framework


What will be the output of the following Java program?<br>import java.util.*;<br>class LOCALE_CLASS<br>{<br>public static void main(String args[])<br>{<br>Locale obj = new Locale("HINDI", "INDIA") ;<br>System.out.print(obj.getDisplayLanguage());<br>}<br>}