Home » JAVA Programming » Object & Classes » Question
  1. Which of these class holds a collection of static methods and variables?
    1. Runtime
    2. System
    3. Process
    4. Void
    5. None of these
Correct Option: B

System class holds a collection of static methods and variables. The standard input, output and error output of java runtime is stored in the in, out and err variables of System class.



Your comments will be displayed only after manual approval.