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 f1 = 12.3f, f2 = 45.6f;

        System.out.println(StrictMath.nextUp(f1));

        System.out.println(StrictMath.nextUp(f2));
    }
}