devxlogo

December 10, 2018

Using NaN in Java

Java has a value NaN. The value has multiple faces and is returned under different circumstances. Below code samples will help us understand some of them. public class JavaNaN{public static