
ShapesDriver
By:
droidus on
Oct 24th, 2011 | syntax:
Java | size: 0.32 KB | hits: 20 | expires: Never
public class ShapesDriver {
/**
* @param args
*/
public static void main(String[] args) {
// Puts in a color, surface area, and volume
sphere ball = new sphere("Green", 5.7, 6.9 ,5);
System.out.print(ball);
/*Cube cuboid = new Cube("Yellow", 5.7, 6.9, 8.5);
System.out.print(cuboid);*/
}
}