Java Basics (GATE - CS)

Casual Mode - Take your time!

1 / 15
Correct
0
Incorrect
0
Score
0%
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
Change Mode