Java FileDescriptor err

Syntax

FileDescriptor.err has the following syntax.

public static final FileDescriptor err

Example

In the following code shows how to use FileDescriptor.err field.


import java.io.FileDescriptor;
//from www  .  jav a2  s. c o  m
public class Main {
  public static void main(String args[])  {
    FileDescriptor fd = FileDescriptor.err;
    System.out.println(fd.hashCode());
  }
}

The code above generates the following result.