Online Java Compiler By
JavaTpoint.com
public class NextAfterExample3 { public static void main(String[] args) { double a = Double.MIN_VALUE; double b = 354.2489; System.out.println(Math.nextAfter(a, b)); } }
Output