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