Originally Posted by
dshainad
do you know some forum with code service? Because I really don't know what to do.
No, because doing so is academic dishonest and any coder I know will not have a hand in that behavior. If you are completely clueless, then I recommend starting with some java tutorials
The Java™ Tutorials
Use those tutorials to break the problem down. For instance, the first sentence of your assignment:
Do you know what a class is? The above tutorial has quite descriptive explanations and examples.
Classes (The Java™ Tutorials > Learning the Java Language > Classes and Objects)