Question: what is the difference between relative path and absolute path in java?
Answer: A path can be absolute or relative. An absolute path contains the full path from the root of the file system down to the file or directory it points to. A relative path contains the path to the file or directory relative to some other path.