Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.suarez;
- public class ClientBox {
- public static void main (String[] args){
- Box box1 = new Box();
- Box box2 = new Box();
- box1.setWidth(7);
- box1.setLength(12);
- box2.setWidth(5);
- box2.setLength(9);
- box1.toString(box1.CalulateArea(),box1.CalculateVolume(10));
- box2.toString(box2.CalulateArea(),box2.CalculateVolume(11));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement