I already tried with string.equal function which will compare two strings, but what will be optimize way of doing same. Suggestions are welcome.
Hi all got it may help others What's the quickest way to compare strings in Java? Thanks Saurabh for sharing link.