Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these class holds a collection of static methods and variables?
  2. A.
    Void
    B.
    Process
    C.
    Runtime
    D.
    System

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    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.


Be The First To Comment