class test
{
public static void main(String[] args)
{
Date d = new Date(2011343412345L);
DateFormat df = new DateFormat();
System.out.println(df.format(d));
}
}
What would be the result?
Options
- 26 Sep, 2033
- 2011343412345L
- An exception is thrown at runtime.
- A compile time error.
CORRECT ANSWER : A compile time error.
Write your comments