Wrapper Classes in Java – Objective

This “Core Java Practice Test on Wrapper Classes in Java” providing set of objective type questions on java Wrapper Classes to test your theoretical skills and technical skills.


1. How can we convert Objective Byte to String?

 
 
 
 

2. What is un boxing?

 
 
 
 

3. What is a field?

 
 
 
 

4. Auto boxing available from which version of JDK?

 
 
 
 

5. How can we convert String to Primitive byte directly?

 
 
 
 

6. What is the use of “SIZE” field in wrapper class ?

 
 
 
 
 

7. Can we convert String to int using casting?

 
 
 
 

8. What wrapper class fields represents ?

 
 
 
 

9. What is the use of pre-defined parseXxx() methods in wrapper classes?

 
 
 
 

10. Can we convert string to boolean?

 
 
 
 

Question 1 of 10

Share this