Programming - Wrapper Classes

You Are Here :: Home > JAVA > Wrapper Classes - General Questions

 
1.

Wrapper class is a wrapper around a ________________________ data type.                        


A. Primitive B. Non-Primitive
C. both a and b D. none of these




2.

wrapper classes were introduced in the _____________________________.                        


A. java.util.concurrent.atomicpackage B. java.lang.concurrent.atomicpackage
C. java.io.concurrent.atomicpackage D. java.sql.concurrent.atomicpackage




3.

The __________________ class does not contain constructors.                        


A. Wrapper Classes B. Abstract Classes
C. Packages D. Interfaces




4.

Once a value is assigned to a ___________________ class instance it can not be changed                        


A. Wrapper B. Abstract
C. Static D. Non-Static




5.

To retrieve an ArrayList object (that contains multiple elements) using the ________________ method.                        


A. init() B. post()
C. get() D. stop()




6.

To convert the Integer type object to a String object using the___________________________________ methods.                        


A. Integer.toBinaryString() B. Integer.toHexString()
C. only A D. both A and B




1

2

3

4

5

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on