Oracle
1Z0-819 · Question #149
1Z0-819 Question #149: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-819 to reveal the answer and full explanation for question #149. The question stem and answer options stay visible for context.
Question
Which of the following lines in this code do not compile? (Choose all that apply.)
enum WeatherType {
COLD, WARM;
}
@Documented
@interface Weather { // Line 1
String humidity(); // Line 2
boolean rainy() = false; // Line 3
public abstract static int value = 1; // Line 4
private static final int humidity = 5; // Line 5
}
Options
- ALine 1
- BLine 2
- CLine 3
- DLine 4
- ELine 5
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.