JAVA
java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
public class Program
{
public static void main(String[] args) {
String s1="hello";
String s2="HELLO".toLowerCase();
if(s1.equals(s2))
{
System.out.println("true");
}
else{
System.out.println("false");
}
}
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run