?
To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed?
Answer & Solution
Correct Answer:
Option
D
The dateTime() method is class constructor. You can set the date either at the time of instantiation or later by using a variety of mutators.
Join the Discussion
Login to post a comment or share your explanation.
Login