package zh.codegym.task.task05.task0513; /* 我们来组合一个矩形 */ public class Rectangle { private int left; private int top; private int width; private int height; public void initialize(int left,int top,int width,int height){ this.left=left; this.top=top; this.width=width; this.height=height; } public void initialize(int left,int top){ this.left=left; this.top=top; this.width=0; this.height=0; } public void initialize(int left,int top,int width){ this.left=left; this.top=top; this.width=width; this.height=width; } //public void initialize(Rectangle file,int left,int top,int width){ //how to write this part method to create a copy of third initialize(...) method? } //在此编写你的代码 public static void main(String[] args) { } }