+ 2
Java version
Hello. What version is Java in Java Tutorial? Is there a way to check Java's version through the program?
1 ответ
+ 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"));