Creating method with return statement - Java Quiz Question


What will be the output of the following program?


A
abc
B
abc123
C
Compilation Error
D
Runtime Error