Question: Design a class called Car that extends Group and presents the drawing of a car (side view). Use polygons, polylines and shapes to best represent
Design a class called Car that extends Group and presents the drawing of a car (side view). Use polygons, polylines and shapes to best represent a car (I recommend you draw this on paper and then identify the shapes as you need). Write a JavaFX application that will display the car. You need a total of 2 classes for this. The first class you create is a Car class and it will extend Group (it is-a Group). The second class CarDisplay will be the driver class with the start method and a main method. You should instantiate one Car object inside of your driver class and then add that Car group to the Scene.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
