1Z0-819 문제 21
이 enum 선언이 주어지면:

다음 코드를 검토하십시오.
System.out.println(Alphabet.getFirstLetter());
이 코드가 A를 출력하도록 하려면 3행에 어떤 코드를 작성해야 합니까?

다음 코드를 검토하십시오.
System.out.println(Alphabet.getFirstLetter());
이 코드가 A를 출력하도록 하려면 3행에 어떤 코드를 작성해야 합니까?
1Z0-819 문제 22
주어진 코드 조각:

Computatorclass가 컴파일할 수 있도록 하는 조치는 무엇입니까?

Computatorclass가 컴파일할 수 있도록 하는 조치는 무엇입니까?
1Z0-819 문제 23
주어진 코드 조각:
경로 currentFile = Paths.get("/scratch/exam/temp.txt");
경로 outputFile = 경로 get("/scratch/exam/new.txt");
경로 디렉토리 = Paths.get("/scratch/");
Files.copy(현재 파일, 출력 파일);
Files.copy(출력파일, 디렉토리);
Files.delete(출력 파일);
/scratch/exam/temp.txt 파일이 존재합니다. /scratch/exam/new.txt 및 /scratch/new.txt 파일이 존재하지 않습니다.
결과는 무엇입니까?
경로 currentFile = Paths.get("/scratch/exam/temp.txt");
경로 outputFile = 경로 get("/scratch/exam/new.txt");
경로 디렉토리 = Paths.get("/scratch/");
Files.copy(현재 파일, 출력 파일);
Files.copy(출력파일, 디렉토리);
Files.delete(출력 파일);
/scratch/exam/temp.txt 파일이 존재합니다. /scratch/exam/new.txt 및 /scratch/new.txt 파일이 존재하지 않습니다.
결과는 무엇입니까?
1Z0-819 문제 24
주어진:

결과는 무엇입니까?

결과는 무엇입니까?
1Z0-819 문제 25
주어진:

경로에 파일이 존재하지 않는다고 가정합니다. 결과는 무엇입니까?

경로에 파일이 존재하지 않는다고 가정합니다. 결과는 무엇입니까?



