public static String valueOf(double I) method of string class in java converts boolean into String

Q.  Which method of string class in java is used to convert the boolean into String?
- Published on 21 Jul 15

a. public static String valueOf(double I)
b. public static String valueOf(boolean I)
c. public boolean equals(Object anObject)
d. public static String valueOf(Object obj)

ANSWER: public static String valueOf(double I)
 

    Discussion

  • VARUN   -Posted on 13 Feb 20
    I found this page is good for preparing in core Java after observing many wrong answers ,as you are informed to correct still no response ..?
  • Safwan   -Posted on 03 Jan 20
    Bss dua mey yaad rakhna.....
  • Sanket   -Posted on 03 Jan 20
    You're most welcome CEO Darshan & Kunal
  • Darshan   -Posted on 03 Jan 20
    Thank You Sanket Bhau......
  • sanket   -Posted on 04 Jul 16
    correct answer is - public static String valueOf(boolean I)

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)