Java FileDescriptor in
Syntax
FileDescriptor.in has the following syntax.
public static final FileDescriptor in
Example
In the following code shows how to use FileDescriptor.in field.
import java.io.FileDescriptor;
/* w w w .ja va 2 s. c om*/
public class Main {
public static void main(String args[]) {
FileDescriptor fd = FileDescriptor.in;
System.out.println(fd.hashCode());
}
}
The code above generates the following result.
Home »
Java Tutorial »
java.io »
Java Tutorial »
java.io »