Get the instance of a runtime

ReturnMethodSummary
static RuntimegetRuntime()Returns the runtime object associated with the current Java application.

public class Main {
  public static void main(String[] args) {
    Runtime runtime = Runtime.getRuntime();
  }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.