Q. Which method of string class in java is used to convert the boolean into String?

  • (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)
πŸ’¬ Discuss
βœ… Correct Answer: (A) public static String valueOf(double I)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
289
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Jatin Dubey
Publisher
πŸ“ˆ
91%
Success Rate