Searching String - Java Quiz Question


What will be the output of following program?


A
Valid mail id
B
Invalid mail id
C
Compilation Error
D
Runtime Error