COMP2396
Loading...
Searching...
No Matches
Box.java
Go to the documentation of this file.
1import java.io.*;
2
3public class Box implements Serializable {
4 private static final long serialVersionUID = 2396L;
5 private int width;
6 private int height;
7 public void setWidth(int w) { width = w; }
8 public void setHeight(int h) { height = h; }
9
10 public int getWidth() { return width; }
11 public int getHeight() { return height; }
12}
Definition Box.java:3
int getWidth()
Definition Box.java:10
void setWidth(int w)
Definition Box.java:7
int width
Definition Box.java:5
void setHeight(int h)
Definition Box.java:8
int getHeight()
Definition Box.java:11
static final long serialVersionUID
Definition Box.java:4
int height
Definition Box.java:6