Implement a JavaFX app that uses the MyShape hierarchy from GUI and Graphics Case Study Exercise 10.2
Question:
Implement a JavaFX app that uses the MyShape hierarchy from GUI and Graphics Case Study Exercise 10.2 to create a fully interactive drawing application. The classes of the MyShape hierarchy require no additional changes. Your app should store the shapes in an ArrayList
Exercise 10.2
State whether each of the statements that follows is true or false. If false, explain why.
a) All methods in an abstract class must be declared as abstract methods.
b) Invoking a subclass-only method through a subclass variable is not allowed.
c) If a superclass declares an abstract method, a subclass must implement that method.
d) An object of a class that implements an interface may be thought of as an object of that interface type.
Step by Step Answer:
Java How To Program Late Objects Version
ISBN: 9780136123712
8th Edition
Authors: Paul Deitel, Deitel & Associates