Worksheet 1-Library Class

Worksheet 1-Library Class

9 Qs

quiz-placeholder

Similar activities

Java Quiz 1

Java Quiz 1

KG - University

12 Qs

Avaliação Bimestral - 3º Bimestre

Avaliação Bimestral - 3º Bimestre

KG - University

10 Qs

Quiz - Alpro E

Quiz - Alpro E

KG - University

8 Qs

Text 1: Hello World 2025

Text 1: Hello World 2025

KG - University

7 Qs

POST TEST 4 ARRAY/LARIK (1 Dimensi)

POST TEST 4 ARRAY/LARIK (1 Dimensi)

KG - University

10 Qs

Practice Kahoot: Pronouns

Practice Kahoot: Pronouns

KG - University

10 Qs

Quiz sobre Programação em C

Quiz sobre Programação em C

12th Grade

14 Qs

Worksheet 1-Library Class

Worksheet 1-Library Class

Assessment

Quiz

others

Medium

Created by

Namrata Boob

Used 1+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which of the following is a composite data type?
a. int
b. String
c. char
d. float

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. Which of the following is not a wrapper class?
a. Byte
b. Int
c. Long
d. Float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. If s=“123”, which among the following will convert it to an int?
a. int a=Integer(s);
b. int a=(int)s;
c. int a=parseInt(s);
d. int a=Integer.parseInt(a);

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. What package is a part of the wrapper class which is imported by default into all Java programs?
a. java.util
b. java.lang
c. java.awt
d. None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. What is, converting a primitive value into an object of the corresponding wrapper class called?
a. Autoboxing
b. Unboxing
c. Type Casting
d. All of these

6.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

6. Name the wrapper classes of char type.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Wrapper classes are not used to convert any data type into an object.
True
False

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

8. _______ is the process of converting one predefined datatype to another.
type conversion
Autoboxing
Unboxing
Widening

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

9. To convert a Primitive datatype into its Object, we make use of ________ Class.
Scanner
Wrapper
System
Type Conversion