📚 Practice Mode

Java Basics (GATE - CS)

Learn at your own pace with hints and detailed explanations

1 / 15
Multiple Choice

String s = “Welcome To Java” s.substring(4, 3 );

What will be the result of the above code?

  1. ome
  2. - 1
  3. com
  4. Runtime error
  5. Compile time error