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("ENGLAND") ;
    System.out.print(object.getCountry());
    }
    }
    1. INDIA
    2. ENGLAND
    3. Runtime Error
    4. Compilation Error
    5. Nothing is displayed
Correct Option: D

Nothing is displayed



Your comments will be displayed only after manual approval.