Code: Select all
What will the following code fragment print?
        Path p1 = Paths.get("c:\\personal\\.\\photos\\..\\readme.txt");
        Path p2 = Paths.get("c:\\personal\\index.html");
        Path p3 = p1.relativize(p2);
        System.out.println(p3);Code: Select all
..\..\..\..\index.htmlCode: Select all
..\index.html