1. What is the difference between overloading a method and overriding a method? 2. Consider the class RandomPoint, as given. If you had written a Java interface for this class before you defined it,...


1. What is the difference between overloading a method and overriding a method?


2. Consider the class RandomPoint, as given. If you had written a Java interface for this class before you defined it, what would it be? How would you change the class so that it implements your interface?


3. What is the UML notation for the interface you defined in the previous question?



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here