Question: Create a class SchoolKid that is the base class for children at a school. It should have attributes for the childs name and age, the
Create a class SchoolKid that is the base class for children at a school. It should have attributes for the child’s name and age, the name of the child’s teacher, and a greeting. It should have appropriate accessor and mutator methods for each of the attributes.
Step by Step Solution
3.37 Rating (163 Votes )
There are 3 Steps involved in it
public class SchoolKid private String name private int age private String teacher private String gre... View full answer
Get step-by-step solutions from verified subject matter experts
