
Oracle Java SE 8 Programmer II (1z0-809 Korean Version) - 1z0-809 Korean Exam Questions
QUESTION NO: 1
주어진 코드 조각:

그리고

결과는 무엇입니까?
주어진 코드 조각:

그리고

결과는 무엇입니까?
Correct Answer: A
QUESTION NO: 2
주어진 코드 조각:
경로 p1 = Paths.get("/Pics/MyPic.jpeg");
System.out.println(p1.getNameCount() +
":" + p1.getName(1) +
":" + p1.getFileName());
Pics 디렉토리가 존재하지 않는다고 가정합니다.
결과는 무엇입니까?
주어진 코드 조각:
경로 p1 = Paths.get("/Pics/MyPic.jpeg");
System.out.println(p1.getNameCount() +
":" + p1.getName(1) +
":" + p1.getFileName());
Pics 디렉토리가 존재하지 않는다고 가정합니다.
결과는 무엇입니까?
Correct Answer: C
QUESTION NO: 3
주어진 코드 조각:
LocalDate ValentinesDay =LocalDate.of(2015, Month.FEBRUARY, 14);
LocalDate nextYear = ValentineDay.plusYears(1);
nextYear.plusDays(15); //라인 n1
System.out.println(내년);
결과는 무엇입니까?
주어진 코드 조각:
LocalDate ValentinesDay =LocalDate.of(2015, Month.FEBRUARY, 14);
LocalDate nextYear = ValentineDay.plusYears(1);
nextYear.plusDays(15); //라인 n1
System.out.println(내년);
결과는 무엇입니까?
Correct Answer: D
QUESTION NO: 4
주어진 코드 조각:
String str = "자바는 프로그래밍 언어입니다";
ToIntFunction<문자열> indexVal = str: : indexOf; //라인 n1
int x = indexVal.applyAsInt("자바");//라인 n2
System.out.println(x);
결과는 무엇입니까?
주어진 코드 조각:
String str = "자바는 프로그래밍 언어입니다";
ToIntFunction<문자열> indexVal = str: : indexOf; //라인 n1
int x = indexVal.applyAsInt("자바");//라인 n2
System.out.println(x);
결과는 무엇입니까?
Correct Answer: A
QUESTION NO: 5
주어진 코드 조각:
Path path1 = Paths.get("/app/./sys/");
Path res1 = path1.resolve("log");
Path path2 = Paths.get("/server/exe/");
Path res1 = path2.resolve("/readme/");
System.out.println(res1);
System.out.println(res2);
결과는 무엇입니까?
주어진 코드 조각:
Path path1 = Paths.get("/app/./sys/");
Path res1 = path1.resolve("log");
Path path2 = Paths.get("/server/exe/");
Path res1 = path2.resolve("/readme/");
System.out.println(res1);
System.out.println(res2);
결과는 무엇입니까?
Correct Answer: C
QUESTION NO: 6
주어진 코드 조각:

코드에서 Price 5 New Price 4를 인쇄할 수 있는 수정 사항은 무엇입니까?
주어진 코드 조각:

코드에서 Price 5 New Price 4를 인쇄할 수 있는 수정 사항은 무엇입니까?
Correct Answer: B
QUESTION NO: 7
주어진 코드 조각:
BiFunction<정수, 이중, 정수> val = (t1, t2) -> t1 + t2; //라인 n1
//라인 n2
System.out.println(val.apply(10, 10.5));
결과는 무엇입니까?
주어진 코드 조각:
BiFunction<정수, 이중, 정수> val = (t1, t2) -> t1 + t2; //라인 n1
//라인 n2
System.out.println(val.apply(10, 10.5));
결과는 무엇입니까?
Correct Answer: C
QUESTION NO: 8
주어진 코드 조각:

결과는 무엇입니까?
주어진 코드 조각:

결과는 무엇입니까?
Correct Answer: B
QUESTION NO: 9
주어진:

및 코드 조각:

결과는 무엇입니까?
주어진:

및 코드 조각:

결과는 무엇입니까?
Correct Answer: B




