文件名称:student
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2014-06-08
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- 薛**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
根据下面要求,编写一个Java应用程序:
①定义类StuCard,用到类成员变量(人数)和实例成员变量:学号、姓名、性别、专业、年级、籍贯等
②初始化的时候用到构造方法,提供两个以上构造方法
③多个类(业务类StuCard和测试主类),用到包的概念,且分别放到不同的包中
④用到类成员访问权限,要求类成员变量为Public,实例成员变量为Private
⑤制作公有的set和get方法与外界通过消息调用的方式通信
⑥在主类中实现对业务类StuCard的读、写、修改属性等功能
-According to the following requirements, write a Java application: ① defined classes StuCard, use the class member variables (the number) and instance member variables: student number, name, gender, major, grade, place of origin, etc. ② constructor initializes when used, provide two or more constructors ③ multiple classes (business class StuCard and test the main class), the concept of package used, and were placed in a different package ④ use class member access required class member variables Public, examples member variables Private ⑤ making public the set and get methods with the outside world by way of a message calling communication ⑥ achieve business class StuCard read in the main class, write, modify properties and other functions
①定义类StuCard,用到类成员变量(人数)和实例成员变量:学号、姓名、性别、专业、年级、籍贯等
②初始化的时候用到构造方法,提供两个以上构造方法
③多个类(业务类StuCard和测试主类),用到包的概念,且分别放到不同的包中
④用到类成员访问权限,要求类成员变量为Public,实例成员变量为Private
⑤制作公有的set和get方法与外界通过消息调用的方式通信
⑥在主类中实现对业务类StuCard的读、写、修改属性等功能
-According to the following requirements, write a Java application: ① defined classes StuCard, use the class member variables (the number) and instance member variables: student number, name, gender, major, grade, place of origin, etc. ② constructor initializes when used, provide two or more constructors ③ multiple classes (business class StuCard and test the main class), the concept of package used, and were placed in a different package ④ use class member access required class member variables Public, examples member variables Private ⑤ making public the set and get methods with the outside world by way of a message calling communication ⑥ achieve business class StuCard read in the main class, write, modify properties and other functions
(系统自动生成,下载前可以参看下载内容)
下载文件列表
.project
.settings\org.eclipse.jdt.core.prefs
bin\job\StuCard.class
...\test\Test.class
src\job\StuCard.java
...\test\Test.java
.classpath
bin\job
...\test
src\job
...\test
.settings
bin
src