-
What is the output of this program?
import java.util.*;
public class date_Example
{
public static void main(String args[])
{
Date object = new Date();
System.out.print(object);
}
}
-
- Any Garbage Value
- Prints Present Time & Date
- Runtime Error
- Prints Present Date
- None of these
Correct Option: B
Wed Nov 21 05:52:45 UTC 2018