public Box addBox(Box box1, Box box2){ Box box3 = new Box(); if(box1.height > box2.height) { //Can you just use the = operator? They are just int values after all. //If not I'll have to think up a set method. //Unless you haven't done those yet. //Then it'll just look suspicious. box2.height = box1.height; box3.height = box2.height * 2; } else { box1.height = box2.height; box3.height = box1.height * 2; } box3.length = box1.length + box2.length; box3.width = box1.width + box2.width; return box3; //If this doesn't work it's probably because I need to make a set method. //In that case you should probably just send me the rest of the Box files because I have no idea what I'm doing.}