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") ;
    System.out.print(object.getDisplayLanguage());
    }
    }
    1. ENGLISH
    2. Compilation Error
    3. Runtime Error
    4. english
    5. None of these
Correct Option: D

english



Your comments will be displayed only after manual approval.