Answer (Choose 1 answer)
11. public class Person {
12. int age;
13. String name;
14.
15. public Person() {
16. this ("Peter");
17. System.out.print("first ");
18. } 19.
20. public Person(String name) {
21. this (42, "Peter");
22.System.out.print("second ");
23. }
24.
25. public Person(int age, String name) {
26. this.age = age;27.this.name = name;
28. System.out.print("third ");
29. } 30.
31. public static void main(String[] args) {
32. Person b = new Person();
33. System.out.print(b.name +" "+ b.age);
34. } 35.}
What is the result?
A. Peter 42 third second first
B Peter 42 first second third
Exit 36