Programming - Wrapper Classes
You Are Here :: Home > JAVA > Wrapper Classes - General Questions
25. |
Converting String Object in to Numeric Object using static method _______________________
|
A. |
typeValue() |
B.
|
constructor |
C.
|
toString()
|
D.
|
valueOf()
|
|
Answer: Option D
Explanation:
Converting String Object in to Numeric Object using static method ValueOf() |
|
26. |
Converting Numeric Strings to Primitive numbers using _____________________ method
|
A. |
Parsing |
B.
|
Static |
C.
|
Instance
|
D.
|
helper
|
|
Answer: Option A
Explanation:
Converting Numeric Strings to Primitive numbers using Parsing method |
|
« prev