Double.POSITIVE_INFINITY : Double « java.lang « Java by API
- Java by API
- java.lang
- Double
Double.POSITIVE_INFINITY
/*
* Output:
Infinity
*/
public class MainClass {
public static void main(String args[]) {
System.out.println(Double.POSITIVE_INFINITY);
}
}
Related examples in the same category