A

Admin • 831.35K Points
Coach

Q. What is the purpose of the charAt() method of a String object in Java?

  • (A) To add a character to the string
  • (B) To remove a character from the string
  • (C) To get the character at a specific index
  • (D) To get the length of the string
  • Correct Answer - Option(C)
  • Views: 22
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.