Java Process isAlive() MethodThe isAlive() method is used to test whether the currently executing process is alive or not. SyntaxParameterNA ReturnThe isAlive() method returns two value : true or false
Example 1Output: A process is created: false Manually closes the notepad. Wait is completed. Example 2Output: Notepad will open false Ms paint will open False Next TopicJava-process-waitfor-method |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India