import com.quadrangle.Rectangle; import org.thefirm.RectangleFactory; public class Problem { public static void main(String[] args) { Rectangle rectangle = RectangleFactory.getInstance(); System.out.println(rectangle); rectangle.scale(0); System.out.println(rectangle); } }