Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

What is the purpose of the Runtime class?

Pragya Keshap answered on February 4, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • what is a runtime

  • What is the purpose of the Runtime class?

    0

    The purpose of the Runtime class is to provide access to the Java

    Runtime system. This class provides certain important methods like:

    1. Runtime.freeMemory() – This method returns the value of

    free memory in JVM

    2. Runtime.maxMemory() - This method returns the value of

    maximum memory that JVM can use.

    3. Runtime.gc() – This method can invoke garbage collection.

    https://www.tutorialspoint.com/what-is-the-importance-of-runtime-class-in-java#:~:text=Runtime%20class%20is%20a%20subclass,is%20associated%20with%20a%20program.

    Popularity 1/10 Helpfulness 1/10 Language java
    Source: Grepper
    Tags: java runtime
    Link to this answer
    Share Copy Link
    Contributed on Feb 04 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.