Declare a public interface named “Viewable” which provides thefollowing public abstract methods:
a method named “getViewCoords() which returns an object of typeViewCoords
a method named “setViewCoords()” which accepts a parameter oftype ViewCoords named “viewCoords”. This method returns void
**Do not include a main method or any classes in yoursolution.**
Expert Answer
An answer will be send to you shortly. . . . .