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) {
        Float floatObject1 = new Float("10.0001");
        Float floatObject2 = new Float("10.0002");

        System.out.println(Float.compare(floatObject1, floatObject2));

    }
}