Poonam Gulve,
If you clean up your post, it will be easier for us to help you.
First, please use real words when posting to the ranch.
Doing so makes it easier for people who can't read and write English as well as you to use language translation software.
Non-standard abbreviations like 'hv' instead of 'have' will trip up this software and make your question unreadable.
Read this for more information:
http://faq.javaranch.com/java/UseRealWords It also looks like your code sample has been cut short so there isn't enough of it there for us to see the problem.
Also, on the bottom left of the edit screen, there is a checkbox that allows you to disable the smilies that are mangling your code.
You can edit your post by clicking on the
![]()
icon in the top post of this
thread.