Numbers
- 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());
}
}
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
hindi
- Which of these class produce objects with respect to geographical locations?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The Locale class isinstantiated to produce objects that each describe a geographical or cultural region.
- Which of these methods is not a Locale class?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
INDIA is not a Locale class.
- Which of these class can generate pseudorandom numbers?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Random
- Which of these method of Locale class can be used to obtain country of operation?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
None of these