Question: I need help with this program which i already summit for help. I need help with creating its base class steps and all other steps


Assignment \#6-Clain of Inheritance Above, you will see an example of a Chain of Inheritance (yes, thefe is a lot in the UMI, charts that is missing like private, public, methods, parameters and return types). For this assignment, you will need to create your own Chain of Inheritance about something that interest you. You will start with a sub-class like Point and slowly add a new super-class. 1. You must submit a detailed UML chart three davs before the deadline of the program: 2. Your program must have at least three classes like above and a demo program that tests all the methods in each of the class including the toStrings: 3. Your program must be well documented both internally and externally- make it user friendly please by using JayaFX and how about a little pizzazz UML chart 10 points Frogram 20 points 1. Base class: Animal - String name - int age - String species - getters and setters for all fields - toString method 1. First sub-class: Mammal - boolean hasFur - int numberOfLegs - getters and setters for all fields - toString method 1. Second sub-class: Reptile - boolean isColdBlooded - boolean laysEggs - getters and setters for all fields - toString method 1. Third sub-class: Snake - boolean isPoisonous - boolean isVenomous - getters and setters for all fields - toString method import javaf x. application. Application; import javafx. scene. Scene; import javafx. scene. control. Label; import javafx. scene. Layout. VBox; import javafx. stage. Stage; public class AnimalDemo extends Application \{ enverride. public void stant(Stage stage) \{ Animal animal = new Animal ("Chartie", 3, "Dog"); Marmal mamal = new Mamal "Lola", 5, "Cat", true, 4); Reptitia reptile = new Reptile("Tina", 2. "Turtle", false, true); Snake snake = new Snake("Samantha", 1, "Python", true, false, true); Label animal Label = new Label (animal tostring ( ) : Label mammalLabel = new Label (mamal . toString . , Label reptilelabel = new Label creptile. tostring(D): Label snakeLabel = new Label snake tostring(i) f VBox vbox = new VBox animallabel, mamallabel, reptileLabel, snakelabel); Scene scene = new Scene(vbox, 400,300: stage. setscene(scene) stage show sit pubtic static void main (5ting[] args: taunchs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
