WRAPPER CLASS

WRAPPER CLASS

Professional Development

10 Qs

quiz-placeholder

Similar activities

Demo Quiz for Ailesh Olympic

Demo Quiz for Ailesh Olympic

Professional Development

13 Qs

Final Assessment For Month 1

Final Assessment For Month 1

Professional Development

10 Qs

Topic 3. The communication process

Topic 3. The communication process

Professional Development

15 Qs

Real Numbers

Real Numbers

10th Grade - Professional Development

9 Qs

web einführungsveranstaltung

web einführungsveranstaltung

University - Professional Development

6 Qs

Weekly Contest #2 - TechXNinjas

Weekly Contest #2 - TechXNinjas

Professional Development

10 Qs

Basic JavaScript (Henry)

Basic JavaScript (Henry)

Professional Development

10 Qs

React Native

React Native

Professional Development

10 Qs

WRAPPER CLASS

WRAPPER CLASS

Assessment

Quiz

Education

Professional Development

Practice Problem

Medium

Created by

scoremaster JAVA

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Type Wrapper or simply a Wrapper in Java?

A) A Wrapper class is an object version of Primitive Data Type
B) A Wrapper provides additional methods for ease of use
C) Wrapper types are useful for using with generic collections
D) All the above

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which primitive data types have wrapper classes available?

A) byte, short, int, long
B) float, double
C) boolean, char
D) All the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct mapping of Primitive Data Types and Wrapper Classes below?

A) boolean = Boolean, char = Character
B) byte = Byte, short = Short, int = Integer, long = Long
C) float = Float, double = Double
D) All the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

State TRUE or FALSE. Java primitive data types work faster compared to their Wrapper counter parts.

A) TRUE
B) FALSE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way of converting an int value to Integer in below Java code?

A) Integer in = new Integer(9);
B) Integer in = Integer.valueOf(9);
C) Integer in = new Integer("9");
D) None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Are the sizes of float and Float same or different in Java?

A) Same
B) Different

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose a correct statement about Autoboxing in Java?

A) Boxing is the process of converting a primitive data to its equivalent Wrapper class type
B) Unboxing is the process of converting a Wrapper class object to its equivalent primitive data type
C) Autoboxing is the process of converting Primitive data type to Wrapper Object type automatically. Auto-Unboxing is the process of converting Wrapper type object to Primitive type automatically.
D) All the above

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?