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
|