📚 Practice Mode

Java

Learn at your own pace with hints and detailed explanations

1 / 15
Multiple Choice

Which of the following methods in java is used to extract a single character from a string?

  1. getChars()
  2. charAt()
  3. getBytes()
  4. toCharArray()
  5. compareTo()