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) {
        Double double1 = new Double(1.1);
        Double double2 = new Double("1.2");

        System.out.println(Double.compare(double1, double2));

    }
}