Which of these class holds a collection of static methods and variables?

Kim Thu Đoàn

New member
Which of these class holds a collection of static methods and variables?
A. Void
B. Process
C. Runtime
D. System
 
Answer: d
Explanation: 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.
 

Tìm kiếm

Back
Top