What is the output of the following program?

```
import java.util.Date;

public class Test {
public static void main(String[] args) {
Date date = new Date(1234567);
m1(date);
System.out.print(date.getTime() + " ");

m2(date);
System.out.println(date.getTime());
}

public static void m1(Date date) {
date = new Date(7654321);
}

public static void m2(Date date) {
date.setTime(7654321);
}
}
```
a. 1234567 1234567
b. 1234567 7654321
c. 7654321 1234567
d. 7654321 7654321


b. 1234567 7654321

Computer Science & Information Technology

You might also like to view...

A ________ gives you a form view and a datasheet view of the same data

A) tabular layout B) split form C) stacked layout D) multiple items form

Computer Science & Information Technology

It can be beneficial, if the resources are available, to create a ____ environment to mislead intruders.

A. virtual B. viral C. honeypot D. mirage

Computer Science & Information Technology

Items in ____________________ lists appear numbered by default.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The value of a pointer variable is an ____.

A. address B. entry in a table C. array D. unknown value

Computer Science & Information Technology