Programming - Wrapper Classes - Discussion

You Are Here :: Home > JAVA > Wrapper Classes - Discussion

 



Q.

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()

Answer: Option D
Explaination:

 


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




Discussion

Your Comments Goes here...
NameDiscussion