Java-Standard-Edition-5-Programmer-Certified-Professional-(1Z0-853).pdf - Oracle 1Z0-853 Java Standard Edition 5 Programmer Certified Professional

Java-Standard-Edition-5-Programmer-Certified-Professional-(1Z0-853).pdf

This preview shows page 1 - 4 out of 9 pages.

1Z0-853 Oracle Java Standard Edition 5 Programmer Certified Professional
Image of page 1
QUESTION: 351 Given: 12. NumberFormat nf = NumberFormat.getInstance(); 13. nf.setMaximumFractionDigits(4); 14. nf.setMinimumFractionDigits(2); 15. String a = nf.format(3.1415926); 16. String b = nf.format(2); Which two statements are true about the result if the default locale is Locale.US? (Choose two.) A. The value of b is 2. B. The value of a is 3.14. C. The value of a is 3.1415. D. The value of a is 3.141. E. The value of b is 2.0000. F. The value of a is 3.1416. G. The value of b is 2.00. Answer: F, G QUESTION: 352 DRAG DROP Click the Task button. Answer:
Image of page 2
QUESTION: 353 Given: 11. public class Person { 12. private String name; 13. public Person(String name) { 14. this.name = name; 15. } 16. public boolean equals(Object o) { 17. if ( ! o instanceof Person ) return false; 18. Person p = (Person) o; 19. return p.name.equals(this.name); 20. } 21. } Which statement is true?
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 9 pages?

  • Fall '16
  • Mohammad Alizadeh
  • Madrid Metro, Metropolitana di Napoli, static void alpha

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture