Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

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.

Advertisement
Assam Direct Recruitment Test Series