Java / Object, Class and Package
Role of Runtime and System class in Java.
Runtime class provides access to the Java runtime system to retrieve information like memory availability, invoking the garbage collector, etc.
System class provides access to system resources. It enables access to standard input/output, error output streams, current time in millis, terminating the application, etc.
More Related questions...