1. What is the difference in meaning between the following two statements?
import java.util.Date;
import java.util.*;
2. Write statements that
a. Define a Date object.
b. Define a string that contains only the date portion of the Date object. For example, if the String representation of the Date object is "Wed Jul 30 16:19:38 EDT 2010", define the string "Jul 30, 2010".
c. Define a string that contains only the time portion of the Date object.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here