In Python I can join two paths with os.path.join:
Python
os.path.join
os.path.join(\"foo\", \"bar\") # => \"foo/bar\"
I\'m trying to
You can do like
// /root Path rootPath = Paths.get("/root"); // /root/temp Path temPath = rootPath.resolve("temp");
A good detailed post is here Path Sample Usecase