QUESTION 48자격증/OCJP_ExamC2018. 7. 26. 06:40
Table of Contents
반응형
QUESTION 48Given that the current directory is empty, and that the user has read and write privileges to the current directory, and the following:1. import java.io.*;2. public class Maker {3. public static void main(String[] args) {4. File dir = new File("dir");5. File f = new File(dir, "f");6. }7. }Which statement is true?A. Compilation fails.B. Nothing is added to the file system.C. Only a new file is created on the file system.D. Only a new directory is created on the file system.E. Both a new file and a new directory are created on the file system.Solution : B
반응형
'자격증 > OCJP_ExamC' 카테고리의 다른 글
QUESTION 50 (0) | 2018.07.26 |
---|---|
QUESTION 49 (0) | 2018.07.26 |
QUESTION 47 (0) | 2018.07.26 |
QUESTION 46 (0) | 2018.07.26 |
QUESTION 45 (0) | 2018.07.26 |
@IT grow. :: IT grow.
#IT #먹방 #전자기기 #일상
#개발 #일상