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("E MMM dd yyyy"); System.out.print(sdf.format(d)); } }

A. 26 2018
B. Nov 26 2018
C. Mon Nov 26 2018
D. Mon
E. Mon 26 2018
Answer» B. Nov 26 2018


Discussion

No Comment Found