Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

Q.

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.

Computer Science Books

Your Valuable Comments Please...

Please Like Us
Brand