IndexOf - Java Quiz Question


What will be the output of following program?


A
First occurance of char 'n' from 7th index :23
First occurance of string "the" from 21th index :64
B
First occurance of char 'n' from 7th index :22
First occurance of string "the" from 21th index :64
C
First occurance of char 'n' from 7th index :22
First occurance of string "the" from 21th index :65
D
Compilation Error or Runtime Error