Vidyalelo
Java Programming · Q91

Interfaces and Abstract Classes

Programming · Java Programming · question 91

Q91

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