String splitting using delimiter - Java Quiz Question


What will be the output of the following program?


A
Ram Robert Rahim
Ram
Ram Ram
Robert Robert
Rahim Rahim
B
Ram Robert Rahim
Ram
Ram Ram
Robert.Rahim
Robert.Rahim Robert.Rahim
C
Ram Robert Rahim
Ram
Ram Ram Ram
Robert
Robert Robert Robert
Rahim
Rahim Rahim Rahim
D
Compilation Error
E
Runtime Error