Oracle Java SE 11 Programmer I 1Z0-815 Prüfungsfragen mit Lösungen:
1. Given:
Which statement is true about the Fox class?
A) Fox class does not have to override the inhabit method if Forest and Town provide compatible implementations.
B) The inhabit method implementation from the first interface that Fox implements will take precedence.
C) Fox class does not have to override inhabit method, so long as it does not try to call it.
D) Fox class must provide implementation for the inhabit method.
E) Fox class must implement either Forest or Town interfaces, but not both.
2. Given:
What is known about the Sportscar class?
A) The Sportscar class inherits the setTurbo method from the superclass Automobile.
B) The Sportscar subclass cannot override setTurbo method from the superclass Automobile.
C) The Sportscar class is a subclass of Automobile and inherits its methods.
D) The Sportscar class is a superclass that has more functionality than the Automobile class.
3. Which set of commands is necessary to create and run a custom runtime image from Java source files?
A) java, jdeps
B) javac, jar
C) javac, jlink
D) jar, jlink
4. Given:
Which is true?
A) The code throws an exception at runtime.
B) The code does not compile.
C) The code prints 25.
D) The code compiles but does not print any result.
5. Given:
What is the result?
A) 2134
B) 2143
C) 214
D) 234
Fragen und Antworten:
| 1. Frage Antwort: A | 2. Frage Antwort: A | 3. Frage Antwort: D | 4. Frage Antwort: B | 5. Frage Antwort: C |






0 Kundenbewertungen

