Home » JAVA Programming » Object & Classes » Question
  1. Which of the following method of Process class can terminate a process?
    1. void exit()
    2. void terminate()
    3. void kill()
    4. void destroy()
    5. None of these
Correct Option: D

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



Your comments will be displayed only after manual approval.