thanks kalpana
it is a good approach....
but i have come to know about error in my program.....
i should have used s1.equals(s2) instead of s1==s2.....
now it is working fine....
anyway thanks for help

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to