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) {
        Integer x = new Integer(50);
        Float y = new Float(50f);

        System.out.println(x.equals(y));
        System.out.println(x.equals(50));

    }
}