adplus-dvertising

Welcome to the java lang and java io MCQs Page

Dive deep into the fascinating world of java lang and java io with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of java lang and java io, a crucial aspect of Java Programming. In this section, you will encounter a diverse range of MCQs that cover various aspects of java lang and java io, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within Java Programming.

frame-decoration

Check out the MCQs below to embark on an enriching journey through java lang and java io. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of Java Programming.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of java lang and java io. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

java lang and java io MCQs | Page 11 of 26

Q101.
Which of these methods of Byte wrapper can be used to obtain Byte object from a string?
Discuss
Answer: (c).decode()
Q102.
Which of the following methods Byte wrapper return the value as a double?
Discuss
Answer: (a).doubleValue()
Q103.
Which of these is a super class of wrappers Byte and short wrappers?
Discuss
Answer: (d).Number
Q104.
Which of these methods is not defined in both Byte and Short wrappers?
Discuss
Answer: (b).isInfinite()
Q105.
What is the output of this program?
    class Output 
    {
        public static void main(String args[])
        {
            Double i = new Double(257.5);  
            Double x = i.MAX_VALUE;
            System.out.print(x);
        }
    }
Discuss
Answer: (b).1.7976931348623157E308
Q106.
What is the output of this program?
    class Output
    {
        public static void main(String args[])
        {
            Double i = new Double(257.5);  
            Double x = i.MIN_VALUE;
            System.out.print(x);
        }
    }
Discuss
Answer: (b).4.9E-324
Q107.
What is the output of this program?
    class Output 
    {
        public static void main(String args[])
        {
     Double i = new Double(257.578123456789);  
            float x = i.floatValue();
            System.out.print(x);
        }
    }
Discuss
Answer: (c).257.57812
Q108.
Which of these methods of Character wrapper can be used to obtain the char value contained in Character object.
Discuss
Answer: (c).charValue()
Q109.
Which of the following constant are defined in Character wrapper?
Discuss
Answer: (d).All of the mentioned
Q110.
Which of these is a super class of Character wrapper?
Discuss
Answer: (d).Number

Suggested Topics

Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!