KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I created a Java program to compare two strings: String str = "Hello"; if (str.equals("hello")) { System.out.println("match"); } else { System.out.println("no match"); } It's case-sensitive. How can I change it so that it's not?
Tags (comma-separated)
Save Edits
Cancel