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

📄 computer.java

📁 考试管理,是的对计算机等级考试报名,管理的具体实现
💻 JAVA
字号:
package basic;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;
public class Computer implements Serializable {


    private long id;
    private String name;
    private Set sc=new HashSet();
    public Computer(String name) {
        this.name = name;
    }
    public Computer(long id,String name) {
    	this.id=id;
        this.name = name;
    }
    /** default constructor */
    public Computer() {
    }

    /** minimal constructor */
 

    public long getId() {
        return this.id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Set getSc() {
        return this.sc;
    }

    public void setSc(Set sc) {
        this.sc= sc;
    }
}

⌨️ 快捷键说明

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