Final Person Class - Java Quiz Question


What will be the output of the following program?


A
Kiran - 25
Kiran - 25
B
Oleti - 24
Oleti - 24
C
Oleti - 24
Kiran - 25
D
Some other output
E
Compilation Error or Runtime Error