文件名称:shi3
- 所属分类:
 - JSP源码/Java
 - 资源属性:
 - [Java] [源码]
 - 上传时间:
 - 2012-11-26
 - 文件大小:
 - 1kb
 - 下载次数:
 - 0次
 - 提 供 者:
 - 余*
 - 相关连接:
 - 无
 - 下载说明:
 - 别用迅雷下载,失败请重下,重下不扣分!
 
下载 
            
                
                
	
	
	
	
                    别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
            如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
1.  定义一个学生类(Student),属性有private的名字(name), public的年龄(age),专业(specialty)和封装name属性的方法:setName(),getName(),getspecialty()编写Application,创建一个学生对象,设置name和age属性值,然后调用一个方法(此方法将对象作为参数传递,在方法中打印出学生的名字name和年龄age)。(学生类仅包含静态成员变量和方法。)-1. The definition of a student class (Student), attributes the name of a private (name), public age (age), professional (specialty) and package name attribute method: setName (), getName (), getspecialty () the preparation of Application to create a student object, set the name and age property value, and then call a method (this method the object passed as a parameter in the method to print out the names of the students name and age of age). (Student class contains only static member variables and methods.)相关搜索: person
privite
name
age
public
ja
			privite
name
age
public
ja
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Com.java
Pt.java
Stu.java
    
	
Pt.java
Stu.java