文件名称:student
-
所属分类:
- 标签属性:
- 上传时间:2014-06-08
-
文件大小:3.49kb
-
已下载: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
bin/test/Test.class
src/job/StuCard.java
src/test/Test.java
.classpath
bin/job
bin/test
src/job
src/test
.settings
bin
src
.settings/org.eclipse.jdt.core.prefs
bin/job/StuCard.class
bin/test/Test.class
src/job/StuCard.java
src/test/Test.java
.classpath
bin/job
bin/test
src/job
src/test
.settings
bin
src
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.