摘要: 今天写了段代码,实现的是经典的长方形和正方形问题。这是长方形的代码 public class Rectangle{ private long width; private long height; public long Width { set { width=value; } get ... 阅读全文