simple java program

You will modify the SpeedDating class, but only by completing the method bodies of the three methods already declared. Do not add any other methods or instance variables to the SpeedDating class, do not modify the constructor, and do not modify the method declarations (“headings”) provided! (Not necessary!)

Complete the SpeedDating Class

Write the method bodies for each of the 3 methods declared in SpeedDating. Study the method declarations and documentation so that you understand what each method does.

it must use one of the Java loops. Nested loops are not necessary.

Do not modify the method declarations (“headings”) in any way!

Note that, by law, Thanksgiving occurs on the 4th Thursday of November

Write a Test Class for Your SpeedDating Class

Your test class will have a main method that does the following:

Create a SpeedDating object

Have the user enter a year, and call the beMyValentine method to print the day of the week on which Valentine’s Day will occur for the next 10 years, starting with the input year. Valentine’s Day (Formerly, Saint Valentine’s Day) is celebrated on February 14th.

Have the user enter another year, call the discoverColumbusDay method, and print the Date object returned. Print the Date in the main method, not in SpeedDating.

Have the user enter the data (month, day, and year) for two Date objects - an earlier date and a later one. Create the two Date objects, call the getHalfWayDate method, and print the Date object returned. Print the Date in the main method, not in SpeedDating.

(Make sure your implementations of the SpeedDating methods have sufficient “internal” documentation)

Compétences : Programmation C++, Java

en voir plus : complete method bodies class date, what is an object in programming, variables in programming, valentine one programming, study programming, starting programming, programming variables, programming methods, programming loops, programming documentation, objects in programming, loops programming, loops in programming, java programming test, c programming loops, speeddating class java, speeddating java program, internal documentation, java programming class, valentine, thanksgiving , Implementations, documentation java, any program, java program simple

Concernant l'employeur :
( 9 commentaires ) Immokalee, United States

Nº du projet : #1010453

Décerné à:


Please see pmb, thanks.

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 0 jours
(64 Commentaires)

3 freelance font une offre moyenne de $30 pour ce travail


Hello, I will be delighted to work on this project. Let's start.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(18 Commentaires)

hi, lets start...

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 0 jours
(5 Commentaires)