Q. Which method returns the character at a specified index in a string?

  • (A) charAt()
  • (B) char()
  • (C) getChar()
  • (D) indexChar()
πŸ’¬ Discuss
βœ… Correct Answer: (A) charAt()
Explanation: charAt() returns the character at a specified index.
Explanation by: Mr. Dubey
charAt() returns the character at a specified index.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
77
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate