Before Java 8, it was not possible to define a default static method inside an interface. Hence Path needed a companion interface, Paths.
確定! 回上一頁