String Compare in JavaIn Java, the two strings can be compared on the basis of content and reference. We cannot compare the two string by using relational operators like >, =,
Read this post on scientecheasy.com