Answer:
Explanation:
The following Java program creates various Date objects for each one of the provided milliseconds in the question. Then it calls the toString() method on each one. The last two milliseconds were not included because as a long variable they are too big for the Date object to accept. The code has been tested and the output is shown in the image below.
import java.util.Date;
class Brainly {
public static void main(String[] args) {
Date date = new Date();
date.setTime(10000);
System.out.println(date.toString());
Date date2 = new Date();
date2.setTime(100000);
System.out.println(date2.toString());
Date date3 = new Date();
date3.setTime(1000000);
System.out.println(date3.toString());
Date date4 = new Date();
date4.setTime(10000000);
System.out.println(date4.toString());
Date date5 = new Date();
date5.setTime(100000000);
System.out.println(date5.toString());
Date date6 = new Date();
date6.setTime(1000000000);
System.out.println(date6.toString());
}
}