Given this requirement:
Module vehicle depends on module part and makes its com.vehicle package available for all other modules.
Which module-info.java declaration meets the requirement?
Given the code fragment:
Path currentFile = Paths.get("/scratch/exam/temp.txt");
Path outputFile = Paths get("/scratch/exam/new.txt");
Path directory = Paths.get("/scratch/");
Files.copy(currentFile, outputFile);
Files.copy(outputFile, directory);
Files.delete (outputFile);
The /scratch/exam/temp.txt file exists. The /scratch/exam/new.txt and /scratch/new.txt files do not exist.
What is the result?

Given:
Which two codes, independently, can be inserted in line to 1 compile?