Welcome to the Forums xtianah.
A general rule of thumb around here is that we do not do your homework for you. If you're just starting out, then I recommend reading your assigned textbook. If you can't own a textbook, then I suggest you read Sun's tutorials. Otherwise, if you have at least some clue as to how to program- everything you need to do is in your assignment description, so what exactly is the problem? Your description even goes so far as to tell you the names of methods, names of the class, the interface it may implement and what parameters methods take and what they output.
Every step is outlined for you.
You need to make an attempt at your work before you get help - Help yourself before we help you.
Considering you're new to the forum you may not have realized this isn't a do-your-homework-for-you-site, regardless you have not started off on the right foot. Read the
FAQ before you post again.