READ Free Dumps For Oracle- 1z0-851
Question ID 3930 | Given: |
Option A | A. Tea |
Option B | B. Coffee |
Option C | C. Coffee Tea |
Option D | D. Compilation fails. |
Option E | E. The code runs with no output. |
Option F | F. An exception is thrown at runtime. |
Correct Answer | B |
Question ID 3931 | Which two scenarios are NOT safe to replace a StringBuffer object with a StringBuilder object? (Choose two.) |
Option A | A. When using versions of Java technology earlier than 5.0. |
Option B | B. When sharing a StringBuffer among multiple threads. |
Option C | C. When using the java.io class StringBufferInputStream. |
Option D | D. When you plan to reuse the StringBuffer to build more than one string. |
Correct Answer | A,B |