Question: In Java: Create a subclass Student that overrides the following methods within the abstract class. Create a UML Diagram for both classes. * --------------------------------------------------------------------------------------------------------- */
In Java: Create a subclass Student that overrides the following methods within the abstract class. Create a UML Diagram for both classes. * --------------------------------------------------------------------------------------------------------- */ public abstract class person{ /** * This method will introduce the person. * @return an introduction message. */ public abstract String introduce(); /** * This method will start a conversation with someone. * @return a conversation. */ public abstract String conversation(); /** * * This method will make the person walk. * @return a message saying the person is walking. */ public abstract String walk(); /** * This method will make the person run. * @return a message saying the person is running. */ public abstract String run(); /** * This method will make the person do an action. * @return an action */ public abstract String action(); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
