Sail E0 Webinar
Question
Which of these class holds a collection of static methods and variables?
Options:
A .  Void
B .  Process
C .  Runtime
D .  System
Answer: Option D


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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers