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