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.)
File list (Check if you may need any files):
Com.java
Pt.java
Stu.java