MyClass.java
 

public class MyClass {
  public static void main(String[] args) {
    String myStr1 = "HELLO";
    String myStr2 = "hello";
    System.out.println(myStr1.compareToIgnoreCase(myStr2));
  }
}

Result:
0