gudii9
asked on
wrapper class
>>Which of the following statements are true?
1) The Integer class has a String and an int constructor
2) The Integer has a floatValue() method
3) The wrapper classes are contained in the java.lang.Math package
4) The Double class has constructors for type double and float
Answer to Question 1
1) The Integer class has a String and an int constructor
2) The Integer has a floatValue() method
4) The Double class has constructors for type double and float
i was going through above question from following link
http://www.jchq.net/certkey/0803certkey.htm
It is not clear to me.
Can Integer class can take String argument.
Any ideas, resources, links, sample code highly appreciated. thanks in advance.
Tags:
1) The Integer class has a String and an int constructor
2) The Integer has a floatValue() method
3) The wrapper classes are contained in the java.lang.Math package
4) The Double class has constructors for type double and float
Answer to Question 1
1) The Integer class has a String and an int constructor
2) The Integer has a floatValue() method
4) The Double class has constructors for type double and float
i was going through above question from following link
http://www.jchq.net/certkey/0803certkey.htm
It is not clear to me.
Can Integer class can take String argument.
Any ideas, resources, links, sample code highly appreciated. thanks in advance.
Tags:
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.