Question: JAVA I did 15.. so from 16 to 21 pleases 15. Consider this version of the Person class below. public class Person private String name;
JAVA
I did 15.. so from 16 to 21 pleases



15. Consider this version of the Person class below. public class Person private String name; private int age; public Person ) //only has a default constructor public void setAge(int age) this.age age; public void setName(String name) this.name name; public int getAge) return age; public String getName() return name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
