📚 Practice Mode

Java Strings

Learn at your own pace with hints and detailed explanations

1 / 17
Multiple Choice

Which of the following methods is used in Java to concatenate two strings?

  1. replace()
  2. trim()
  3. concat()
  4. substring()