1z0-809-KR 문제 86
주어진:
인터페이스 실행 가능 {
공개 무효 doSomething(문자열 s);
}
어떤 두 클래스 정의가 컴파일됩니까? (2개를 선택하세요.)
인터페이스 실행 가능 {
공개 무효 doSomething(문자열 s);
}
어떤 두 클래스 정의가 컴파일됩니까? (2개를 선택하세요.)
1z0-809-KR 문제 87
주어진:
class Student {
String course, name, city;
public Student (String name, String course, String city) {
this.course = course; this.name = name; this.city = city;
}
public String toString() {
return course + ":" + name + ":" + city;
}
public String toString() {
return course + ":" + name + ":" + city;
}
public String getCourse() {return course;}
public String getName() {return name;}
public String getCity() {return city;}
and the code fragment:
List<Student> stds = Arrays.asList(
new Student ("Jessy", "Java ME", "Chicago"),
new Student ("Helen", "Java EE", "Houston"),
new Student ("Mark", "Java ME", "Chicago"));
stds.stream()
.collect(Collectors.groupingBy(Student::getCourse))
.forEach(src, res) -> System.out.println(scr));
결과는 무엇입니까?
class Student {
String course, name, city;
public Student (String name, String course, String city) {
this.course = course; this.name = name; this.city = city;
}
public String toString() {
return course + ":" + name + ":" + city;
}
public String toString() {
return course + ":" + name + ":" + city;
}
public String getCourse() {return course;}
public String getName() {return name;}
public String getCity() {return city;}
and the code fragment:
List<Student> stds = Arrays.asList(
new Student ("Jessy", "Java ME", "Chicago"),
new Student ("Helen", "Java EE", "Houston"),
new Student ("Mark", "Java ME", "Chicago"));
stds.stream()
.collect(Collectors.groupingBy(Student::getCourse))
.forEach(src, res) -> System.out.println(scr));
결과는 무엇입니까?
1z0-809-KR 문제 88
Operator.java, EngineOperator.java 및 Engine.java 파일의 내용이 주어지면:

및 코드 조각:

결과는 무엇입니까?

및 코드 조각:

결과는 무엇입니까?
1z0-809-KR 문제 89
주어진:

및 코드 조각:

결과는 무엇입니까?

및 코드 조각:

결과는 무엇입니까?
1z0-809-KR 문제 90
주어진:
IntStream stream = IntStream.of (1,2,3);
IntFunction<Integer> inFu= x -> y -> x*y;//line n1
IntStream newStream = stream.map(inFu.apply(10));//line n2
newStream.forEach(System.out::print);
코드 조각을 컴파일할 수 있는 수정 사항은 무엇입니까?
IntStream stream = IntStream.of (1,2,3);
IntFunction<Integer> inFu= x -> y -> x*y;//line n1
IntStream newStream = stream.map(inFu.apply(10));//line n2
newStream.forEach(System.out::print);
코드 조각을 컴파일할 수 있는 수정 사항은 무엇입니까?
프리미엄 번들
DumpTop 에서 공유하는 최신 1z0-809-KR 시험 덤프는 1z0-809-KR 시험패스를 도와드릴수 있습니다! DumpTop 은 최근 업데이트된 1z0-809-KR 시험자료를 제공해드립니다. DumpTop 1z0-809-KR 덤프도 시험문제 변경에 따라 업데이트되었으며 오답도 수정되었습니다. DumpTop 1z0-809-KR 덤프 최신버전을 공유받아보세요.
(209 Q&As 덤프, 30%OFF할인코드: KrDump)
