In this activity you will develop a subclass CommitteeMember that extends Member.
In addition to the Solution document, the project for this activity contains:
You are to write the class CommitteeMember to extend Member, and add an extra instance variable position, which records the office a committee member holds, for example Secretary, Treasurer etc.
The class should have a four-argument constructor that sets all the instance variables, and a getter for the new attribute.
The toString method inherited from Member is to be overridden so that it will return a string including a committee member's position in addition to the details supplied for an ordinary member.
Complete the code for the class CommitteeMember, as specified above, and run the project to test what you have written.