Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public final static boolean equalsIgnoreCase(String str1, String str2) {
        if (str1 == str2) {
            return true;
        }

        if (str1 == null) {
            return false;
        }

        return str1.equalsIgnoreCase(str2);
    }
}