Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface Club {
- /**
- * @return name of the club
- */
- public String getName();
- /**
- * @return a number representing the year of club's foundation
- */
- public int getFoundedYear();
- /**
- * Changes the club's year of foundation
- * @param yearFounded: the year of foundation
- */
- public void setFoundedYear(int yearFounded);
- /**
- * @return current address of the club
- */
- public String getAddress();
- /**
- * Changes the address of the club
- * @param address: the new address of the club
- */
- public void setAddress(String address);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement