Oracle Java SE 8 Programmer II (1z0-809 Korean Version) - 1z0-809 Korean무료 덤프문제 풀어보기

파일의 내용을 고려해 보면:

Test.java 파일의 코드 조각은 다음과 같습니다.

결과는 어떻게 되나요?

정답: B
주어진 코드 조각:
List<String> listVal = Arrays.asList("Joe", "Paul", "Alice", "Tom");
System.out.println (
// line n1
);
다음 중 n1번째 줄에 삽입하면 길이가 3보다 큰 문자열 요소의 개수를 출력할 수 있는 코드 조각은 무엇입니까?

정답: B
다음 코드 조각을 참고하세요.

ProductCode 클래스를 정의해 달라는 요청을 받았습니다. ProductCode 클래스 정의는 c1 인스턴스 생성이 성공하도록 허용해야 하며, c2 인스턴스 생성 시에는 컴파일 오류가 발생해야 합니다.
ProductCode의 어떤 정의가 요구 사항을 충족합니까?

정답: B
Vehicle 클래스의 정의는 다음과 같습니다.
Class Vehhicle {
int distance;//line n1
Vehicle (int x) {
this distance = x;
}
public void increSpeed(int time) {//line n2
int timeTravel = time;//line n3
class Car {
int value = 0;
public void speed () {
value = distance /timeTravel;
System.out.println ("Velocity with new speed"+value+"kmph");
}
}
new Car().speed();
}
}
and this code fragment:
Vehicle v = new Vehicle (100);
v.increSpeed(60);
결과는 어떻게 되나요?

정답: C
다음 코드 조각을 참고하세요.
List<String> empDetails = Arrays.asList("100, Robin, HR", "200, Mary, AdminServices","101, Peter, HR"); empDetails.stream()
.filter(s-> s.contains("r"))
.sorted()
.forEach(System.out::println); //line n1
결과는 어떻게 되나요?

정답: D
주어진 코드 조각:
클래스 호출자는 Callable<String> {을 구현합니다.
문자열 str;
공개 호출자(문자열 s) {this.str=s;}
공개 문자열 call() 예외 발생 { return str.concat("호출자");}
}
클래스 러너는 Runnable {을 구현합니다.
문자열 str;
공개 러너(문자열 s) {this.str=s;}
공개 무효 실행() { System.out.println(str.concat("실행자"));}
}
그리고
공개 정적 무효 주(String[] 인수) InterruptedException, ExecutionException { ExecutorService es = Executors.newFixedThreadPool(2); 미래 f1 = es.submit(새 발신자("호출")); 미래 f2 = es.submit(새로운 러너("실행")); 문자열 str1 = (문자열) f1.get(); 문자열 str2 = (문자열) f2.get();//라인 n1 System.out.println(str1+ ":" + str2);
}
결과는 무엇입니까?

정답: C
주어진:
class UserException extends Exception { }
class AgeOutOfLimitException extends UserException { }
and the code fragment:
class App {
public void doRegister(String name, int age)
throws UserException, AgeOutOfLimitException {
if (name.length () <= 60) {
throw new UserException ();
} else if (age > 60) {
throw new AgeOutOfLimitException ();
} else {
System.out.println("User is registered.");
}
}
public static void main(String[ ] args) throws UserException {
App t = new App ();
t.doRegister("Mathew", 60);
}
}
결과는 무엇입니까?

정답: C
주어진:

결과는 무엇입니까?

정답: A
주어진 코드 조각:
BiFunction<정수, 이중, 정수> val = (t1, t2) -> t1 + t2;//라인 n1 System.out.println(val.apply(10, 10.5)); 결과는 무엇입니까?

정답: C
주어진 코드 조각:
ZonedDateTime 출발 = ZonedDateTime.of(2015, 1, 15, 1, 0, 0, 0, ZoneID.of("UTC-7")); ZonedDateTime 도착 = ZonedDateTime.of(2015, 1, 15, 9, 0, 0, 0, ZoneID.of("UTC-5")); 긴 시간 = ChronoUnit.HOURS. between(출발, 도착); //line n1 System.out.println("이동 시간은" + hrs + "hours"); 결과는 무엇입니까?

정답: B
어떤 클래스 정의가 컴파일되나요?

정답: B
주어진 코드 조각:

그리고

결과는 무엇입니까?

정답: C
주어진 코드 조각:
경로 소스 = Paths.get("/data/december/log.txt");
경로 대상 = Paths.get("/data");
Files.copy(소스, 대상);
/data/december/log.txt 파일에 액세스할 수 있고 다음이 포함되어 있다고 가정합니다.
2014년 12월 10일 - 성공적으로 실행됨
결과는 무엇입니까?

정답: B
주어진:

및 코드 조각:

스레드 t1 및 t2는 비동기적으로 실행되며 ABCA 또는 AACB를 인쇄할 수 있습니다.
스레드가 동기적으로 실행되고 ABC를 인쇄하도록 코드를 수정하라는 요청을 받았습니다.
어떤 수정이 요구 사항을 충족합니까?

정답: D

우리와 연락하기

문의할 점이 있으시면 메일을 보내오세요. 12시간이내에 답장드리도록 하고 있습니다.

근무시간: ( UTC+9 ) 9:00-24:00
월요일~토요일

서포트: 바로 연락하기 

English Deutsch 繁体中文 日本語