Question: make an interface called ASCIIDrawable. The interface should have one unimplemented method, String drawAsASCII() which will return a String containing the object drawn using ASCII
make an interface called ASCIIDrawable. The interface should have one unimplemented method, String drawAsASCII() which will return a String containing the object drawn using ASCII characters. Exercise 5 Add 'implements ASCIIDrawable' to the Geometric shape class, but implement the drawAsASCII() functions in the Rectangle subclass.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
