
Wrapper Class
Authored by Nishat Khimani
Other
10th Grade
Used 135+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Wrapper classes are found in _____ package
java.lang
java.util
java.io
java.net
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The data type wrapper classes are in……….package
java.lang
java.io
java.util
java.applet
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a wrapper for data type int?
Integer
Long
Byte
Double
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a super class of wrappers Long, Character & Integer?
Long
Digits
Float
Number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a wrapper for simple data type char?
Float
Character
String
Integer
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is method of wrapper Integer for converting the value of an object into int?
bytevalue()
int intValue();
Bytevalue()
Byte Bytevalue()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these methods is used to obtain value of invoking object as a long?
long value()
long longValue()
Long longvalue()
Long Longvalue()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?