What is the use of the FileDescriptor class in Java? We can only get it using getFD () methods in streams, and then we can use the resulting FD to create another instance, say, FileInputStream, which we can also do by creating a FileInputStream object with the same file name (instead of using its FD) .
In addition, the in, out, and err methods. what use can they be applied to?
source
share