Programming - Wrapper Classes

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

 
19.

_________________ returns a newly created wrapped object of the type that invoked the method.                        


A. valueOf() B. IntValueOF()
C. valueof() D. ValOf()




20.

The class Object, the super class of all classes, has a _________________ method.                        


A. toString() B. toInt()
C. toChar() D. toFloat()




21.

__________________ classes for converting simple types                        


A. Abstract B. Static
C. Wrapper D. Final




22.

Converting Object numbers to Primitive numbers using _________________ method                        


A. typeValue() B. constructor
C. toString() D. ValueOf()




23.

Converting primitive numbers to Object numbers using ________________ methods                        


A. typeValue() B. constructor
C. toString() D. valueOf()




24.

Converting Numbers to Strings using ___________________ method                        


A. typeValue() B. constructor
C. toString() D. valueOf()




« prev

1

2

3

4

5

next »

 
 



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