READ Free Dumps For Oracle- 1z0-804
Question ID 3472 | Given: |
Option A | A. Daniel |
Option B | B. Unknown |
Option C | C. It may print"unknown"or"Daniel"depending on the JVM implementation. |
Option D | D. Compilation fails. |
Option E | E. An exception is thrown at runtime. |
Correct Answer | D |
Question ID 3473 | Which four are true about enums? |
Option A | A. An enum is typesafe. |
Option B | B. An enum cannot have public methods or fields. |
Option C | C. An enum can declare a private constructor. |
Option D | D. All enums implicitly implement Comparable. |
Option E | E. An enum can subclass another enum. |
Option F | F. An enum can implement an interface. |
Correct Answer | A,C,D,F |