public class CompareSize{
private int max
private int min
public CompareSize(int max, int min) {this.max = max
this.min = min
}
public int getMajor() {
major
}
public void setMajor(int major) {
this.major = major;
}
}
public class CompareSize{ private int max private int min public CompareSize(int max, int min) { this.max = max this.min = min } public int getMajor() { ...