Internationalization
© examsiri.com
Question : 15 of 18
Marks:
+1,
-0
Given:
And given that 1123631685981L is the number of milliseconds between Jan. 1, 1970, and sometime on Aug. 9, 2005, what is the result? (Note: the time of day in option A may vary.)
1. import java.text.*;
2. class DateOne {
3.   public static void main(String[] args) {
4.    Date d = new Date(1123631685981L);
5.    DateFormat df = new DateFormat();
6.    System.out.println(df.format(d));
7.   }
8. }And given that 1123631685981L is the number of milliseconds between Jan. 1, 1970, and sometime on Aug. 9, 2005, what is the result? (Note: the time of day in option A may vary.)
Go to Question: