Description: 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.)
To Search:
File list (Check if you may need any files):
Java实验源代码\java实验 3.doc
..............\Java实验 4.doc
..............\Java实验10.doc
..............\java实验3.doc
..............\Java实验5.doc
..............\Java实验7-1.doc
..............\Java实验7-2.doc
..............\Java实验8.doc
..............\Java实验六.doc
..............\Java实验四.doc
Java实验源代码