Vidyalelo
Java Programming · Q307

Interfaces and Abstract Classes

Programming · Java Programming · question 307

Q307

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("INDIA") ; System.out.print(obj.getCountry());

A.
India
B.
INDIA
C.
Compilation Error
D.
Nothing is displayed
Answer

Answer: Option D

Solution

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