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
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 Solution
3.40 Rating (159 Votes )
There are 3 Steps involved in it
It seems like you have two questions here the first one is about implementing a JavaFX app using a specific hierarchy and the second one is about true... View full answer
Get step-by-step solutions from verified subject matter experts
