Oracle
1Z0-851 · Question #198
Given a valid DateFormat object named df, and 16. Date d = new Date(0L); 17. String ds = "December 15, 2004"; 18. //insert code here What updates d's value with the date represented by ds?
The correct answer is C. try {. See the full explanation below for the reasoning.
Question
Given a valid DateFormat object named df, and 16. Date d = new Date(0L); 17. String ds = "December 15, 2004"; 18. //insert code here What updates d's value with the date represented by ds?
Options
- Ad = df.parse(ds);
- Bd = df.getDate(ds);
- Ctry {
- Dtry {
How the community answered
(24 responses)- B4% (1)
- C83% (20)
- D13% (3)
Community Discussion
No community discussion yet for this question.