testinfo.java

来自「一个较好的java开发实例」· Java 代码 · 共 64 行

JAVA
64
字号
/* * TestInfo.java * * Created on 2004年1月15日, 下午4:53 */package romulus.Manager;import romulus.*;/** * * @author  Administrator * @version  */public class TestInfo  implements java.io.Serializable{    protected Test t = null;    protected double score = 0.0;    protected String name = null;    protected String info = null;        /** Creates new TestInfo */    public TestInfo(String name, Test t, double score, String info) {        this.name = name;        this.t = t;        this.score = score;        this.info = info;    }        public void setName(String name){        this.name = name;    }        public String getName(){        return this.name;    }        public void setTest(Test t){        this.t = t;    }        public Test getTest(){        return this.t;    }        public void setScore(double score){        this.score = score;    }        public double getScore(){        return this.score;    }        public void setInfo(String info){        this.info = info;    }        public String getInfo(){        return this.info;    }    }

⌨️ 快捷键说明

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