Question: I. Polymorphism, inheritance and composition. Implement a Java program that fulfills the requirements shown below. (20 points total) 1. Design a Java class that extends

I. Polymorphism, inheritance and composition. Implement a Java program that fulfills the requirements shown below. (20 points total) 1. Design a Java class that extends the class shown in the UML diagram below (10 points) Demonstrate polymorphism in a test class' main method (5 points) 2. Person -firstName: String -lastName String -gender: char -age: int
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
