Advertisement
droidus

ShapesDriver

Oct 24th, 2011
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.32 KB | None | 0 0
  1. public class ShapesDriver {
  2.  
  3.     /**
  4.      * @param args
  5.      */
  6.     public static void main(String[] args) {
  7.         // Puts in a color, surface area, and volume
  8.         sphere ball = new sphere("Green", 5.7, 6.9 ,5);
  9.         System.out.print(ball);
  10.        
  11.         /*Cube cuboid = new Cube("Yellow", 5.7, 6.9, 8.5);
  12.         System.out.print(cuboid);*/
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement