IO and NIO_2
IO and NIO_2
Java 11 (1Z0-819)
• ConsoleTest.java
Java 11 (1Z0-819)
• resolve() does not check whether the paths exist on the hard
disk.
• As with resolve(), the paths need not exist on the hard disk.
• Note that a file itself counts as one level – this will be clearer in
the examples.
15
19
20
22
23
• The depth limit is useful where the file system may he very
large but we know the information we are searching for is near
the root.
Java 11 (1Z0-819)
25
27