Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class BoxClient {
- public static void main(String [] args)
- {
- w1.SetW(1);
- l1.SetL(1);
- h1.SetH(1);
- System.out.println("The width of the box is "+w1);
- System.out.println("The height of the box is "+h1);
- System.out.println("The length of the box is "+l1);
- System.out.println("The area of the box is "+Area);
- System.out.println("The volume of the box is "+Volume);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement