posted 2 years ago
Potential error in table 14.4 at the page 793 of the chapter 14. The third row:
Description | File method | Files method
----------------------------------------------------------|----------------------------|------------------------
"Retrieves absolute path of file/directory" | getAbsolutePath() | toAbsolutePath()
should stay in the table 14.3 (Common File and Path operations) and not in the table 14.4 (Common File and Files operations).
Indeed, the metod toAbsolutePath() is a Path method, not a Files method.