Programming test 1

The General Class (13 marks)

Implement the class General the API of which can be found here.

Include javadoc comments.

The GeneralClient Class (2 marks)

After you have completed your General class, implement an app named GeneralClient. In the app,

Below you find a sample run (including the name entered by the user).

Enter name:
John Lemmon
John Lemmon
not retired

Submit Classes

Submit the classes General and GeneralClient by typing
  submit 1030 Test1 General.java GeneralClient.java
before 19:15.

If you use eclipse, the files General.java and GeneralClient.java can be found in the directory workspace/project/src/..., where project is the name of the Java project you have created.

You may submit your code more than once. You are strongly encouraged to submit your work regularly during the test.