What will be the output of the following Java program? [code] import java.util.*; class LOCALE_CLASS { public static

What will be the output of the following Java program?
Code:
    import java.util.*;
    class LOCALE_CLASS
    {
        public static void main(String args[])
        {
            Locale obj = new Locale("HINDI") ;
            System.out.print(obj.getDisplayLanguage());
        }
    }
A. India
B. INDIA
C. HINDI
D. Nothing is displayed
 

Tìm kiếm

Back
Top