Numbers


  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. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    hindi


  1. Which of these class produce objects with respect to geographical locations?











  1. 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.



  1. Which of these methods is not a Locale class?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    INDIA is not a Locale class.


  1. Which of these class can generate pseudorandom numbers?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Random



  1. Which of these method of Locale class can be used to obtain country of operation?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    None of these