READ Free Dumps For Oracle- 1z0-804
Question ID 3551 | Which is a factory method from the java.text.NumberFormat class? |
Option A | A. format (long number) |
Option B | B. getInstance() |
Option C | C. getMaxiraumFractionDigits () |
Option D | D. getAvailableLocales () |
Option E | E. isGroupingUsed() |
Correct Answer | B |
Question ID 3552 | Given the code format: SimpleDateFormat sdf; |
Option A | A. sdf = new SimpleDateFormat ("mm", Locale.UK); System.out.println("Result:", sdf.format(new date())); |
Option B | B. sdf = new SimpleDateFormat ("MM", Locale.UK); System.out.println("Result:", sdf.format(new date())); |
Option C | C. sdf = new SimpleDateFormat ("MMM", Locale.UK); System.out.println("Result:", sdf.format(new date())); |
Option D | D. sdf = new SimpleDateFormat ("MMMM", Locale.UK); System.out.println("Result:", sdf.format(new date())); |
Correct Answer | D |