CSCI 273.002 Mathematical Programming
Homework 09
Last revised 5 April 2011, 8:50 am
Assigned: 04/05
Due: 04/12
NO CREDIT: 04/19
-
Read Chapter 3, Section 3.2.
-
Programming Project:
-
Create a new NetBeans project named HW09, and
this time accept the default checkbox setting that
tells NetBeans to create a Main class for you.
Note that this option will also create a new package
named hw09 to hold this Main class.
-
Download the JAR file
Booksite.jar and add it
to your project classpath.
-
Create an additional new class named Rectangle in
your project hw09 package. Define this class so that it
matches and completes the partially written
Rectangle class listed in Exercise 3.2.1 on p. 406.
-
Finally, fill in the main() method in hw09.Main
so that it performs all the tests described in Exercise
3.2.2 and Exercise 3.2.3 on pp. 406-407.
-
As usual, leave your completed HW09 project in your
csci/273.002/homework folder for the remainder of the semester.