FileDescriptor() constructor from FileDescriptor has the following syntax.
public FileDescriptor()
In the following code shows how to use FileDescriptor.FileDescriptor() constructor.
import java.io.FileDescriptor; public class Main { public static void main(String args[]) { FileDescriptor fd = new FileDescriptor(); System.out.println(fd.hashCode()); } }
The code above generates the following result.