Get the instance of a runtime
static Runtime getRuntime()
- Returns the runtime object associated with the current Java application.
public class Main {
public static void main(String[] args) {
Runtime runtime = Runtime.getRuntime();
}
}