MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

public class MainClass {

    public static void main(String[] arg) {

        String a = "a";
        String b = "A";

        if (a.equalsIgnoreCase(b)) {
            System.out.println("a==b");
        } else {
            System.out.println("a!=b");
        }
    }
}