Home / CSE MCQs / JAVA MCQs :: Discussion

Discussion :: JAVA MCQs

  1. Which of the following method of Process class can terminate a process?
  2. A.
    void kill()
    B.
    void destroy()
    C.
    void terminate()
    D.
    void exit()

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Kills the subprocess. The subprocess represented by this Process object is forcibly terminated.


Be The First To Comment