Search Sub String - Java Quiz Question


What will be the output of the following program?


A
Substring searched successfully.
B
Sorry, substring not found.
C
Compilation Error
D
Runtime Error