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

📄 employee.java

📁 java基础编程的教程! 是内部培训的资料! 对java基础教学很好哦!
💻 JAVA
字号:
public class Employee{
	protected String id;	
	protected String name;
	protected String address;
	protected String city;
	protected int age;
	public Employee(){

	}
	public Employee(String id,
			String name,
			String address,
			String city,
			int age){
		this.id=id;
		this.name=name;
		this.address=address;
		this.city=city;
		this.age=age;
	}
	public void printData(){
		System.out.println(id);
		System.out.println(name);
		System.out.println(address);
		System.out.println(city);
		System.out.println(age);
	}
}

⌨️ 快捷键说明

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