InterviewSolution
Saved Bookmarks
| 1. |
How many static methods does a Date object have?(a) 3(b) 5(c) 4(d) 2 |
|
Answer» Correct choice is (d) 2 Easiest explanation: Date objects are created with the new Date() constructor. The Date object defines two static methods namely Date.parse() and Date.UTC(). |
|