Computer Applications
Which following method of wrapper Integer will convert the value of an object into int?
- bytevalue( )
- int intValue( )
- Bytevalue( )
- 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
Which of these is a wrapper for data type int ?
- Integer
- Long
- Byte
- Double
Which of these is wrapper for simple data type char?
- Float
- Character
- String
- Integer
Which of the following is/are not valid wrapper classes?
- Integer
- Float
- integer
- character
- Character
The Wrapper class objects' value is comparable to primitive type values. True/false ?