⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rectangle.java

📁 面向对象编程的代码Example;面向对象编程的代码Example
💻 JAVA
字号:
package LSP;

public class Rectangle {
	public void SetWidth(double w)
	{
		this.itsWidth = w;
	}
	public void SetHeight(double h)
	{
		this.itsHeight = h;
	}
	public double GetHeight()
	{
		return this.itsHeight;
	}
	public double GetWidth()
	{
		return this.itsWidth;
	}
	private Point itsTopLeft;
	private double itsWidth;
	private double itsHeight;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -