first commit
This commit is contained in:
commit
8c81ee28b7
3106 files changed
+474415
No files matched your search
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* Store details of club memberships.
|
||||
*
|
||||
* @author (your name)
|
||||
* @version (a version number or a date)
|
||||
*/
|
||||
public class Club
|
||||
{
|
||||
// Define any necessary fields here ...
|
||||
|
||||
/**
|
||||
* Constructor for objects of class Club
|
||||
*/
|
||||
public Club()
|
||||
{
|
||||
// Initialise any fields here ...
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a new member to the club's list of members.
|
||||
* @param member The member object to be added.
|
||||
*/
|
||||
public void join(Membership member)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The number of members (Membership objects) in
|
||||
* the club.
|
||||
*/
|
||||
public int numberOfMembers()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user