Computer Applications
Which of the following is/are not valid wrapper classes?
- Integer
- Float
- integer
- character
- Character
Java Library Classes
6 Likes
Answer
integer, character
Reason — All the names of wrapper classes begin with capital letters. Thus, Integer, Float and Character are valid wrapper classes.
Answered By
5 Likes
Related Questions
Which of these is wrapper for simple data type char?
- Float
- Character
- String
- Integer
Which following method of wrapper Integer will convert the value of an object into int?
- bytevalue( )
- int intValue( )
- Bytevalue( )
- Byte Bytevalue()
The Wrapper class objects' value is comparable to primitive type values. True/false ?
Write the return data type of the following functions :
- startsWith( )
- random( )