
Wipro PRP - 15th June

Quiz
•
Computers
•
University
•
Hard
Kavitha Murugan
Used 5+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which does autoboxing or unboxing in Java?
Compiler
Runtime
Third party tools
JDK
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which system property stores installation directory of JRE?
user.home
java.class.path
java.home
user.dir
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Java version introduced the feature Autoboxing and Unboxing?
Java 4
Java 5
Java 6
Java 7
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the need for Autoboxing and Unboxing in Java?
Reduces code to be written by developers to convert from Wrapper to Primitive vice versa
Compile time is reduced due to fixed methods followed to automatically convert Objects and Primitives
Auto-unboxing improves memory efficiency by converting Wrapper to Primitive and process when object version is not needed
All the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the right statement which does autoboxing in Java?
Integer temperature1 = 100;
int temperature2 = 101;
Integer temperature1 = 100;
int temperature2 = 101;
Double temperature1 = 100;
int temperature2 = 101;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the below java code with autoboxing?
public class AutoBoxingTest2
{
static void show(int reading)
{
System.out.println("Reading: " + reading);
}
public static void main(String[] args)
{
Integer a = Integer.valueOf(10);
show(a);
}
}
Reading: 0
Reading: 10
Compiler error
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the components of a marker interface?
Fields and methods
No fields, only methods
Fields, no methods
No fields, No methods
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Java Arrays

Quiz
•
University
10 questions
Introduction to Java

Quiz
•
University
15 questions
Bootcamp Day 3 - Java Array

Quiz
•
University
10 questions
GDSC Android Bootcamp [Kotlin Quiz]

Quiz
•
University
10 questions
Topik 2: Ciri-ciri Object Oriented Programming (OOP)

Quiz
•
University
15 questions
Code Craft : Java & Web Quiz"

Quiz
•
University
10 questions
Java Quiz 1

Quiz
•
University
18 questions
U3.1. Connections (JDBC)

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University