1.

What is the output of this program?
import java.util.*;
public class LOCALE_CLASS_Example
{
public static void main(String args[])
{
Locale object = new Locale("English", "USA") ;
System.out.print(object.getCountry());
}
}

A. India
B. USA
C. Compilation Error
D. Runtime Error
E. None of these
Answer» C. Compilation Error


Discussion

No Comment Found