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

📄 boat.java

📁 码头船舶管理系统 适合初学者使用 J2SE的知识
💻 JAVA
字号:

public class Boat {
	private String id;
	private String length;
	private Customer c;
	
	//构造函数
	public Boat(String i,String l){
		this.id = i;
		this.length = l;
	}
	
	
	
	public Boat(String i,String l,String n,String t, String p,String a){
		this.id = i;
		this.length = l;
		this.c = new Customer(n,t, p, a);
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getLength() {
		return length;
	}
	public void setLength(String length) {
		this.length = length;
	}



	public Customer getC() {
		return c;
	}



	public void setC(Customer c) {
		this.c = c;
	}

	
}

⌨️ 快捷键说明

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