How to compare two string in java?
jyovasinedu 0 Newbie Poster
Recommended Answers
Jump to PostRead the API for String. There is a method there, inherited from Object, with the same name as the symbol used in many comparisons. Use that method. (And, yes, I am being purposely obscure.)
Edit: Aaarrgh, and another newb has already given code. Do not give out easy answers …
All 3 Replies
swarnamalya 0 Newbie Poster
masijade 1,351 Industrious Poster Team Colleague Featured Poster
jyovasinedu 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.