
| Objects and Classes | |
| CSC 140 |
Add the Left and Right Buttons, as seen on page 171 of the text, to the PlayBalloon Applet, and make them work properly. Also, add the private float calcArea() method, as seen on page 152 of the text, to the Balloon class. Have the Balloon print its area under itself inside public void display(Graphics g).
Chapter 9. Read everything carefully except the section on static. We will cover static later. Almost everything in this chapter is important. I thoroughly disagree with the author's statement in the section on Classes and files, page 162, that both of his presented alternatives for file organization are equally satisfactory. For this class, always put every class into its own file.
| Office: B132 | Phone: 353-2250 | sbadman@parkland.edu | ||