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 = 10, d2 = 40, d3 = -25;

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

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