Question: 1. ( 20 points) Answer the following questions based on the UML diagrams on the final page. (In case you learned different notation for UML

 1. ( 20 points) Answer the following questions based on the
UML diagrams on the final page. (In case you learned different notation

1. ( 20 points) Answer the following questions based on the UML diagrams on the final page. (In case you learned different notation for UML diagrams, the +/ - to the left of each field/method indicates it is public/private. The type given after the colon indicates the field or return type.) a. How many fields does Rectangle have? b. How many constructors does Oval have? c. List all of the methods on DrawingPanel that are overloaded. d. Are any of the fields in any of the classes accessible from outside the class? If not, how do you know? If so, list them. e. If Circle was a subclass of Oval, would I be able to call drawkilledShape from a method in the Circle class? Why or why not? f. What is the return type of the method get\&illedO in Rectangle? UML Diagram for problem 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!