Programming - Wrapper Classes

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

 
13.

The ___________ method accepts a String argument and returns an int                        


A. parseInt() B. parseChar()
C. parseString() D. parseFloat()




14.

The ____________ method converts a String to an int                        


A. parseInt() B. parseChar()
C. parseString() D. parseFloat()




15.

All the wrapper classes are declared ____________.                        


A. Final B. Static
C. Non-Static D. abstract




16.

All wrapper classes offers static ___________ methods which give you another approach to creating wrapper objects.                        


A. parseInt() B. set(object,int)
C. get() D. valueOf()




17.

The valueOf(…) method in the Character class accepts only char as an ________________.                        


A. variable B. arguments
C. parameters D. methods




18.

_______________ returns the named primitive.                        


A. parseInt() B. parsexx()
C. parseXxx() D. parseXx()




« prev

1

2

3

4

5

next »

 
 



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