What is the purpose of the Runtime class?

  1. To provide access to the Java runtime system.

  2. To avoid run time exception.

  3. To provide the capability to execute code no matter whether or not an exception is thrown or caught.

  4. Both 2 & 3


Correct Option: A

Find more quizzes: