Menu
Question Index
...

Write a program to identify the week day of the given date.

Input (Date) Output (String)
18 January 2013 Friday
19 June 2013 Wednesday
25 December 2005 Sunday
7 July 2001 Saturday
14 November 2044 Monday


import java.util.*;
import java.text.*;
class IdentifyTheDayOfTheDate1
{
    public static void main(String s[])
    {
        System.out.println("Day of 18 January 2013 is : " + dayOfDate("18 January 2013"));

    }


    public static String dayOfDate(String date) {
    String result = null;
    return result;
    }

}

Doubts

Problems

Topic: Locale Class In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App