This command should create a sparse file:
channel = Files.newByteChannel(path, EnumSet.of(CREATE,WRITE,SPARSE));
However, it just creates a regular (non-sparse) file. I can manually turn it into a sparse file using fsutil on the command line, but how can I get the Java Runtime to do this?
I am using Java 11 on Windows 10 (NTFS).
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)