Question: Look up the relativize method in the Path API and explain in which sense it is the opposite of resolve. Give two examples when it
Look up the relativize method in the Path API and explain in which sense it is the opposite of resolve. Give two examples when it is useful; one for files and one for directories.
Step by Step Solution
3.39 Rating (155 Votes )
There are 3 Steps involved in it
The relativize method in the Path API in Java is used to construct a relative path between two paths In a way its the opposite of the resolve method H... View full answer
Get step-by-step solutions from verified subject matter experts
