public class Rectangle {
private int width;
private int height;
public void applyFactors(1int factor1, int factor2) { //The area of the rectangle2int newWidth, newHeight; newWidth = this.width * factor1; newHeight = this.height * factor2; this.width = newWidth; this.height = newHeight; }