Determine the day of the week for new year''s day
Course:- JAVA Programming
Reference No.:- EM13295

Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> JAVA Programming

Write a program that evaluates the day of the week for New Year's Day in the year 3000. To do this, you must create your own date class (MyDate).

• Implement a new yesterday() function which moves the date one day backwards. Modify your main program to print the date, including the day of the week, for January 1st, 1800. (Hint: back up to December 31st, 1799, and then call tomorrow() once.)

• Using UML, prepare a high level design (a.k.a. architecture) of your program before implementation. Include your design (architecture) as an appendix to your Word document submission. Project include a simple use case diagram, class diagram and sequence diagram for all methods.

Put your comment

Ask Question & Get Answers from Experts
Browse some more (JAVA Programming) Materials
For this assignment, you have been asked to write a computer program to automatically analyze some of the data collected by some experiments. Data analysis in scientific res
The class overloaded constructor receives a 2-dim int array as a parameter and assigns its values to a private 2-dim int array. Have another method that prints the whole 2-dim
Discuss an example of an inheritance hierarchy of Java superclasses and subclasses, and describe the method overriding and overloading you would use to maximize code reuse
Write a complete Java program called Parser that gets a comma-delimited String of integers  (eg "4,8,16,32,...") from the user at the command line and then converts the String
In this assignment we will work with the concepts of interfaces and inheritance. We will make use of a extends to create an inheritance hierarchy, and use implements to impl
Write a Java Program that prints the numbers from 1 to 125. But for multiles of three print "Batman" instead of the number and for the multiples of five print "Superman". For
You will create four classes that must all interact in some meaningful way. In order to start you will create a class diagram to determine which classes depend on other clas
You are to design and implement a Menu class, and associated iterator classes, that maintains a collection of MenuItem objects. A MenuItem object contains