Oracle
1Z0-819 · Question #39
1Z0-819 Question #39: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-819 to reveal the answer and full explanation for question #39. The question stem and answer options stay visible for context.
Question
Given
interface MyInterface1 {
public int method1() throws Exception;
private void pMethod() { /* an implementation of pMethod */ }
}
interface MyInterface2 {
public static void sMethod() { /* an implementation of sMethod */ }
public boolean equals(Object o);
}
interface MyInterface3 {
public void method();
public void method(String str);
}
interface MyInterface4 {
public void dMethod() { /* an implementation of dMethod */ }
}
interface MyInterface5 {
public static void sMethod();
public void method(String str);
}
Which two interfaces can be used in lambda expressions? (Choose two.)
Options
- AMyInterface1
- BMyInterface3
- CMyInterface2
- DMyInterface4
- EMyInterface5
Unlock 1Z0-819 to see the answer
You've previewed enough free 1Z0-819 questions. Unlock 1Z0-819 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.