Question: Extend Exercise P10.3 by supplying a drawHouse method in which you can specify the position and size. Then populate your frame with a few houses
Extend Exercise P10.3 by supplying a drawHouse method in which you can specify the position and size. Then populate your frame with a few houses of different sizes.
Data from Exercise P10.3
Write a program that draws a picture of a house. It could be as simple as the accompanying figure, or if you like, make it more elaborate (3-D, skyscraper, marble columns in the entryway, whatever).

Step by Step Solution
3.34 Rating (157 Votes )
There are 3 Steps involved in it
public class House public static void drawHouse Draw the base of the house Rectangle base new Rectan... View full answer
Get step-by-step solutions from verified subject matter experts
