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
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