1.

What is the output of this program?
import java.text.*;
import java.util.*;
public class DateFormatting_Example
{
public static void main(String args[])
{
Date d = new Date();
SimpleDateFormat sdf = new SimpleDateFormat("z");
System.out.print(sdf.format(d));
}
}

A. z
B. UTC
C. Nov
D. Tue
E. None of these
Answer» C. Nov


Discussion

No Comment Found