0

in java doc class Runtime : Every Java application has a single instance of class Runtime

What's single instance in class Runtime

  • take a look at this https://medium.com/@govinda_raj/runtime-class-in-java-43c730dbb876 – jpganz18 Oct 21 '19 at 12:59
  • it means that when you call `Runtime.getRuntime()`, you will always have the same [Runtime](https://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html) object instance for the same Java application running. – Olivier L. Applin Oct 21 '19 at 13:00
  • https://stackoverflow.com/questions/40486720/what-is-a-runtime-class-in-java check this too – jpganz18 Oct 21 '19 at 13:01
  • 1
    @HovercraftFullOfEels It looks to me like this question is asking "what is [the Runtime class](https://docs.oracle.com/javase/7/docs/api/java/lang/Runtime.html)", not "what is a runtime class". – khelwood Oct 21 '19 at 13:07

0 Answers0