import java.util.Date;public class MainClass { public static void main(String[] args) { Date now = new Date(); System.out.printf("localized day name: %tA/%TA\n", now, now); }} localized day name: Thursday/THURSDAY