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

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 Mathematics Questions!