Vidyalelo
Java Programming · Q94

Interfaces and Abstract Classes

Programming · Java Programming · question 94

Q94

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());

A.
India
B.
INDIA
C.
HINDI
Answer
D.
Nothing is displayed

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board