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?
- ome
- - 1
- com
- Runtime error
- Compile time error
Casual Mode - Take your time!
String s = “Welcome To Java” s.substring(4, 3 );
What will be the result of the above code?