Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static boolean equals(Object one, Object another) {
        if (one == another) // one == another  
            return true;
        if (one == null || another == null)
            return false;
        return one.equals(another);
    }
}