Discussion group, leave your messages |
|
Create definitions for the class Student, write the application and print contents
You job is to implement the definition and write a java application as described on page 127 (exercise 5.14) of the text book. On Page 85 of our textbook there is a specification of the class Student. You are to create the definitions for the instance variables of the class. These would be: thisName; write definitions of the methods ssn and changeSsn, fees, feesPaid and payFees. (Questions 5.14 a, b, c, d, e) Create a constructor to create one student giving him/her a name, address and ssn, and do not forget to initialize credit hours and fees. As the output of your application it will display: These are the doc comment for the sections of the exercise. b. /** /** /** d. /** /** /** Turn in:
|
Back to
CS161 JAVA Homepage |