Question: Write a program to make a class called parent that has the following features: surname (String) and show method that shows surname. The program

Write a program to make a class called parent that has the following features: surname (String) and show method that shows surname. The program also makes a class called child that has the following feature: firstname (string), degree (string), and show method that shows firstname and degree. A test is class is required to allow a user to enter his/her names and degree.
Step by Step Solution
There are 3 Steps involved in it
Here is the Java program with the Parent and Child classes along with a Test class to allow the user ... View full answer
Get step-by-step solutions from verified subject matter experts
