Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of these class have only one field 'TYPE'?
  2. A.
    Void
    B.
    Process
    C.
    System
    D.
    Runtime

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The Void class has one field, TYPE, which holds a reference to the Class object for the type void.


Be The First To Comment