Home » JAVA Programming » Numbers » Question
  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());
    }
    }
    1. India
    2. USA
    3. Compilation Error
    4. Runtime Error
    5. None of these
Correct Option: B

USA



Your comments will be displayed only after manual approval.