@isuru, I highly recommend you read the forum rules and http://www.javaprogrammingforums.com/cafe/9544-problem-spoon-feeding.html
I recommend you follow the excellent example of pbrockway2: teach as...