Answered step by step
Verified Expert Solution
Question
1 Approved Answer
comments are instructions thank you, automatic thumbs up public abstract class Person { private String name; private String address; private short age; // constructor that
comments are instructions thank you, automatic thumbs up
public abstract class Person \{ private String name; private String address; private short age; // constructor that takes only two paras public Person(String name, short age) \{ super(); this.name = name; this.age = age; public String getName() return name; \} public void setName(String name) \{ \} this.name = name; public abstract String getAddress(); public abstract void setAddress(String address); \} 7 public class Student extends Person [ 1 8 // ToDo 1: Make this class a child of Person 9 10 11 12 13 14 15 16 / 16 Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started