Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package shapes;
- public class ShapeTester
- {
- public static void main(String[] args)
- {
- double area;
- area = ShapeUtilities.getRectangleArea(10, 5);
- System.out.println("Area: " + area);
- area = ShapeUtilities.getRectangleArea(8, 5);
- System.out.println("Area: " + area);
- area = ShapeUtilities.getCircleArea(3);
- System.out.println("Area: " + area);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement