please place your code in tags...Quote:
What exactly is the question? I don't see a specific issue or problem spelled out here.
This looks like you are trying to get people to either do or check your homework for you, which isn't really the intention of a forum.
If you do have a specific question about the code, please post a reply or update the OP and then I or another member would be quite happy to help.
P.S. We would actually be okay with checking the code for errors, if it was in code tags so that it was actually legible for a programmer to read. ;)
these two classes combined .try this.you can get answer.The main method you can implement as you want.
ravindu, read the forum rules and the following: http://www.javaprogrammingforums.com...n-feeding.html