Solution to Assignment 2


Problem Definition
The following represents the four (4) packages.  Within each package
you'll find the respective classes.
Note:
(a)The driver class is named dimensions.java and it is found in the
package mainSolid.
(b) The program was compiled using the command line argument in the
directory:
	D:\cop333~2\Assignment2\mainSolid>


D:\cop333~2\Assignment2\mainSolid> javac -classpath .;D:\COP333~2\Assignment2 dimensions.java

(c) Similarly, the execution of the program began at the same location.
The command line argument is:
 
 D:\cop333~2\Assignment2\mainSolid> java -classpath .;D:\COP333~2\Assignment2 dimensions

package mainSolid package areas package perimeter package volumes


Go Back