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("HINDI", "INDIA") ;
    System.out.print(object.getDisplayLanguage());
    }
    }
    1. India
    2. Hindi
    3. English
    4. HINDI
    5. None of these
Correct Option: B

hindi



Your comments will be displayed only after manual approval.