Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {
    public static void main(String[] args) {
        Boolean b1 = new Boolean(true);
        Boolean b2 = new Boolean(false);

        boolean res = b1.equals(b2);

        System.out.println("b1:" + b1 + " and b2:" + b2 + " are equal is " + res);
    }
}