Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java equals String

String word = "Hello"; // Declare String.
word.equalsIgnoreCase("hELlO"); // Returns true.
word.equals("Hello"); // Returns true.
word.equals("heLLo"); // Returns false.
Source by www.quora.com #
 
PREVIOUS NEXT
Tagged: #Java #equals #String
ADD COMMENT
Topic
Name
2+3 =