Which is true regarding the java.nio.file.Path Interface?
A.
The interface extends WatchService interface
B.
Implementations of this interface are immutable.
C.
Implement at ions of this interface arc not safe for use by multiple concurrent threads.
D.
Paths associated with the default provider are not interoperable with the
Explanation:
The java.nio.file.Path interface extends Watchable interface so that a directory located by a path can be registered with a WatchService and entries in the directory watched.
Note: An object that may be used to locate a file in a file system. It will typically represent a system dependent file path.
A Path represents a path that is hierarchical and composed of a sequence of directory and file name elements separated by a special separator or delimiter. A root component, that identifies a file system hierarchy, may also be present. The name element that is farthest from the root of the directory hierarchy is the name of a file or directory. The other name elements are directory names. A Path can represent a root, a root and a sequence of names, or simply one or more name elements. A Path is considered to be an empty path if it consists solely of one name element that is empty. Accessing a file using an empty path is equivalent to accessing the default directory of the file system. Path defines the getFileName, getParent, getRoot, and subpath methods to access the path components or a subsequence of its name elements.
Reference: java.nio.file.Path Interface
Concurrency
Implementations of this interface are immutable and safe for use by multiple concurrent threads.
I think answer is :: B
http://docs.oracle.com/javase/7/docs/api/java/nio/file/Path.html
+1