Programming - Wrapper Classes

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

 
7.

_________________ is used to get the capacity of a list i.e. retrieving the number of objects contained in it.                        


A. size() B. set()
C. stop() D. remove()




8.

______________________ is used to remove an object from a particular position specified by a index value.                        


A. size() B. set()
C. stop() D. remove()




9.

__________________ method is used to o replace an object from a particular position specified by a index value.                        


A. reset(int, object) B. set(object,int)
C. set(int, object) D. reset(object,int)




10.

The wrapper classes are part of the ______________________ package                        


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




11.

The _________________ method is an instance method, because it is called through an instance of the class an Integer object.                        


A. FloatValue() B. setValue()
C. resetValue() D. intValue()




12.

The ______________ class includes both instance methods and class methods.                        


A. Integer B. String
C. inner D. abstract




« prev

1

2

3

4

5

next »

 
 



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