Which of the following creates a Path object pointing to c:/temp/exam?
Choose all that apply.
E and F are correct
Paths must be created using the Paths.get()
method.
This method takes a varargs String parameter, so you can pass as many path segments to it as you like.
A and B are incorrect because you cannot construct a Path directly.
C and D are incorrect because the Files class works with Path objects but does not create them from Strings.