Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package com.mycompany.ja9;
- /**
- *
- * @author Admin
- */
- public class Box {
- private double x,y,z;
- private double w,h,d;
- public Box(double x, double y, double z, double w, double h, double d) {
- this.x = x;
- this.y = y;
- this.z = z;
- this.w = w;
- this.h = h;
- this.d = d;
- }
- //
- public double getX() {
- return x;
- }
- public void setX(double x) {
- this.x = x;
- }
- public double getY() {
- return y;
- }
- public void setY(double y) {
- this.y = y;
- }
- public double getZ() {
- return z;
- }
- public void setZ(double z) {
- this.z = z;
- }
- public double getW() {
- return w;
- }
- public void setW(double w) {
- this.w = w;
- }
- public double getH() {
- return h;
- }
- public void setH(double h) {
- this.h = h;
- }
- public double getD() {
- return d;
- }
- public void setD(double d) {
- this.d = d;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement