For which of the following data types the ValueOf() method is NOT overloaded in the string class?
Question
For which of the following data types the ValueOf() method is NOT overloaded in the string class?
A
Float
B
Boolean
C
Object
D
None of these
Answer & Explanation
Option: [D]
For all Java built in types ValueOf() method is overloaded within the String. valueOf() method returns the string representation of the corresponding arguments value.