public final class JavaVersion extends Object
static int
getMajorJavaVersion()
static boolean
isJava9OrLater()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static int getMajorJavaVersion()
public static boolean isJava9OrLater()
true
false
Copyright © 2020. All rights reserved.