+ 2

Java version

Hello. What version is Java in Java Tutorial? Is there a way to check Java's version through the program?

13th Dec 2018, 3:18 PM
Johhny tst
Johhny tst - avatar
1 Odpowiedź
+ 4
The tutorial is common to all versions you can check java version : System.out.println(System.getProperty("java.version")); System.out.println(System.getProperty("java.runtime.version"));
13th Dec 2018, 3:28 PM
Rishi Anand
Rishi Anand - avatar