This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm creating an Applet that will display 3 houses but I am a little confused on how to the instructions want me to create this
"write an Applet class named Construction.java. It should build 3 houses (rectangles with triangle roofs on top) but its paint method should be only 3 calls to a method named drawHouse.
In Construction.java, you should (at least) define methods named: paint (which invokes drawHouse), drawHouse (which invokes drawTriangle and probably methods from the Graphics class), and drawTriangle."
I'm confused on how to set up the paint() method to make only 3 calls to the drawHouse() method and also how to invoke drawTriangle() into drawHouse()