Given the code fragment: Assume that the system date is June 20, 2014. What is the
result?
A.
Option A
B.
Option D
C.
Option B
D.
Option C
Given the code fragment: Assume that the system date is June 20, 2014. What is the
result?
A.
Option A
B.
Option D
C.
Option B
D.
Option C
A.
Option A
Definitely A – Option A.
D is the correct answer. An exception is thrown at runtime
Answer A (Option A)
Tested today 😉
date1 = 2016-07-31
date2 = 2014-06-20
date3 = 2014-06-20
a
Tested: A