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) {
        Character c1 = new Character('a');
        Character c2 = new Character('a');

        String str1 = "Equal ";

        if (c1.equals(c2)) {
            System.out.println(str1);
        }
    }
}