Q. Which of the following statement is correct?

  • (A) reverse() method reverses all characters
  • (B) reverseall() method reverses all characters
  • (C) replace() method replaces first occurrence of a character in invoking string with another character
  • (D) replace() method replaces last occurrence of a character in invoking string with another character
πŸ’¬ Discuss
βœ… Correct Answer: (A) reverse() method reverses all characters

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
156
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Kiran Rapria
Publisher
πŸ“ˆ
87%
Success Rate