KnowledgeBoat Logo
|

Computer Applications

Which following method of wrapper Integer will convert the value of an object into int?

  1. bytevalue( )
  2. int intValue( )
  3. Bytevalue( )
  4. Byte Bytevalue()

Java Library Classes

4 Likes

Answer

int intValue( )

Reason — int intValue( ) function returns the value of the invoking object as an int.

Answered By

3 Likes


Related Questions