- Java.lang - Void
- Java.lang - Throwable
- Java.lang - ThreadLocal
- Java.lang - ThreadGroup
- Java.lang - Thread
- Java.lang - System
- Java.lang - StringBuilder
- Java.lang - StringBuffer
- Java.lang - String
- Java.lang - StrictMath
- Java.lang - StackTraceElement
- Java.lang - Short
- Java.lang - SecurityManager
- Java.lang - RuntimePermission
- Java.lang - Runtime
- Java.lang - ProcessBuilder
- Java.lang - Process
- Java.lang - Package
- Java.lang - Object
- Java.lang - Number
- Java.lang - Math
- Java.lang - Long
- Java.lang - Integer
- Java.lang - InheritableThreadLocal
- Java.lang - Float
- Java.lang - Enum
- Java.lang - Double
- Java.lang - Compiler
- Java.lang - ClassLoader
- Java.lang - Class
- Java.lang - Character.UnicodeBlock
- Java.lang - Character.Subset
- Java.lang - Character
- Java.lang - Byte
- Java.lang - Boolean
- Java.lang - Home
Java.lang Package extras
Java.lang Package Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Java.lang.Process Class
Introduction
The java.lang.Process class provides methods for performing input from the process, performing output to the process, waiting for the process to complete, checking the exit status of the process, and destroying (kilpng) the process.
Class Declaration
Following is the declaration for java.lang.Process class −
pubpc abstract class Process extends Object
Class constructors
Sr.No. | Constructor & Description |
---|---|
1 |
Process() This is the Single Constructor. |
Class methods
Sr.No. | Method & Description |
---|---|
1 | This method kills the subprocess. |
2 | This method returns the exit value for the subprocess. |
3 | This method gets the error stream of the subprocess. |
4 | This method gets the input stream of the subprocess. |
5 | This method gets the output stream of the subprocess. |
6 | This method causes the current thread to wait, if necessary, until the process represented by this Process object has terminated. |
Methods inherited
This class inherits methods from the following classes −
java.lang.Object