Numbers


  1. Which of these is a method can generate a boolean output?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    retbool()


  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("ENGLAND") ;
    System.out.print(object.getCountry());
    }
    }











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Nothing is displayed



  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", "USA") ;
    System.out.print(object.getCountry());
    }
    }











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    USA


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

    NA

    Correct Option: D

    english