Given the Person class with age and name along with getter and setter methods, and this code fragment:
What will be the result?
A. Aman Tom Peter
B. Tom Aman Peter
C. Aman Peter Tom
D. Tom Peter Aman
Given the Person class with age and name along with getter and setter methods, and this code fragment:
What will be the result?
A. Aman Tom Peter
B. Tom Aman Peter
C. Aman Peter Tom
D. Tom Peter Aman
D