文件名称:Student
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 8kb
- 下载次数:
- 0次
- 提 供 者:
- 齐**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
1.People类,包括姓名,年龄两个属性,另包含一个方法String PrintInfo(),用来返回People的属性姓名和年龄。
2.设计People类的子类Student,继承People的两个属性,另包含属性学号sno,重写方法String PrintInfo(),该方法返回Student的三个属性。
3.设计People类的子类Teacher,继承People的两个属性,另包含属性工资salary,重写方法String PrintInfo(),该方法返回Teacher的三个属性。
4.设计如下窗体
当在页面上填写完成并点击“完成”按钮以后,根据输入的值创建一个Student对象,并调用PrintInfo方法将对象的信息输出到窗口中的文本区域中。-1.People class, including name, age two properties, and the other contains a method String PrintInfo () to return to People attribute name and age. (2) a subclass of the Student Design People, inherit the two attributes of the People, and the other contains the attribute number of sno, rewrite the method of the String PrintInfo () This method returns a Student of the three properties. Subclass Teacher of Design People inherit two properties of People, and the other contains the attributes wages of the salary, to rewrite the method of the String PrintInfo () method returns the Teacher of the three properties. Design the following form when completing and click " Finish" button on the page, depending on the value of the input to create a Student object, and to call PrintInfo object information output to the text in the window region.
2.设计People类的子类Student,继承People的两个属性,另包含属性学号sno,重写方法String PrintInfo(),该方法返回Student的三个属性。
3.设计People类的子类Teacher,继承People的两个属性,另包含属性工资salary,重写方法String PrintInfo(),该方法返回Teacher的三个属性。
4.设计如下窗体
当在页面上填写完成并点击“完成”按钮以后,根据输入的值创建一个Student对象,并调用PrintInfo方法将对象的信息输出到窗口中的文本区域中。-1.People class, including name, age two properties, and the other contains a method String PrintInfo () to return to People attribute name and age. (2) a subclass of the Student Design People, inherit the two attributes of the People, and the other contains the attribute number of sno, rewrite the method of the String PrintInfo () This method returns a Student of the three properties. Subclass Teacher of Design People inherit two properties of People, and the other contains the attributes wages of the salary, to rewrite the method of the String PrintInfo () method returns the Teacher of the three properties. Design the following form when completing and click " Finish" button on the page, depending on the value of the input to create a Student object, and to call PrintInfo object information output to the text in the window region.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Student\.classpath
.......\.project
.......\.settings\org.eclipse.jdt.core.prefs
.......\bin\pj\People.class
.......\...\..\Student.class
.......\...\..\Studentinf$Mykeylistener.class
.......\...\..\Studentinf.class
.......\...\..\Teacher.class
.......\src\pj\People.java
.......\...\..\Student.java
.......\...\..\Studentinf.java
.......\...\..\Teacher.java
.......\bin\pj
.......\src\pj
.......\.settings
.......\bin
.......\src
Student
.......\.project
.......\.settings\org.eclipse.jdt.core.prefs
.......\bin\pj\People.class
.......\...\..\Student.class
.......\...\..\Studentinf$Mykeylistener.class
.......\...\..\Studentinf.class
.......\...\..\Teacher.class
.......\src\pj\People.java
.......\...\..\Student.java
.......\...\..\Studentinf.java
.......\...\..\Teacher.java
.......\bin\pj
.......\src\pj
.......\.settings
.......\bin
.......\src
Student