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 d1 = 12, d2 = 34, d3 = -56;

        System.out.println(StrictMath.max(d1, d2));

        System.out.println(StrictMath.max(d1, d3));
    }
}