Programming test 1

The President Class (13 marks)

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

Include javadoc comments.

The PresidentClient Class (2 marks)

After you have completed your President class, implement an app named PresidentClient. In the app,

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

Enter first name: Jane
President: Jane Doe

Submit Classes

Submit the classes President and PresidentClient by typing
  submit 1030 Test1 President.java PresidentClient.java
before 19:15.

If you use eclipse, the files President.java and PresidentClient.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.