Advertisement
Guest User

Box Client Class

a guest
Apr 23rd, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. public class BoxClient {
  2. public static void main(String [] args)
  3. {
  4. w1.SetW(1);
  5. l1.SetL(1);
  6. h1.SetH(1);
  7. System.out.println("The width of the box is "+w1);
  8. System.out.println("The height of the box is "+h1);
  9. System.out.println("The length of the box is "+l1);
  10. System.out.println("The area of the box is "+Area);
  11. System.out.println("The volume of the box is "+Volume);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement