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. Can we typecast boolean to any other data type?

 
 
 
 

2. What is boxing?

 
 
 
 

3. What is the super class of Wrapper classes?

 
 
 
 

4. What is package name of wrapper classes?

 
 
 
 

5. Why wrapping is required?

 
 
 
 

6. How can we convert primitive byte to Objective Byte?

 
 
 
 

7. What is auto boxing?

 
 
 
 

8. How can we convert String to Objective Byte?

 
 
 
 
 

9. Pick out the correct statement?

 
 
 
 

10. What is auto unboxing?

 
 
 
 

Question 1 of 10

Share this