READ Free Dumps For Oracle- 1z0-804
Question ID 3553 | Select four examples that initialize a NumberFormat reference using a factory. |
Option A | A. NumberFormat nf1 = new DecimalFormat(); |
Option B | B. NumberFormat nf2 = new DecimalFormat("0.00") ; |
Option C | C. NumberFormat nf3 = NumberFormat.getInstance(); |
Option D | D. NumberFormat nf4 = NumberFormat.getIntegerInstance(); |
Option E | E. NumberFormat nf5 = DecimalFormat.getNumberInstance (); |
Option F | F. NumberFormat nf6 = NumberFormat.getCurrencyInstance () ; |
Correct Answer | C,D,E,F |
Question ID 3554 | |
Option A | A. Compilation fails |
Option B | B. HELLO_MSG |
Option C | C. GOODGYE_NSG |
Option D | D. Hello, everyone! |
Option E | E. Goodbye everyone! |
Correct Answer | A |