Đang Thực Hiện

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)

Kỹ năng: Lập trình C++, Java

Xem thêm: 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

Về Bên Thuê:
( 9 nhận xét ) Immokalee, United States

Mã Dự Án: #1010453

Đã trao cho:


Please see pmb, thanks.

$30 USD trong 0 ngày
(64 Đánh Giá)

3 freelancer đang chào giá trung bình $30 cho công việc này


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

$30 USD trong 1 ngày
(18 Đánh Giá)

hi, lets start...

$30 USD trong 0 ngày
(5 Đánh Giá)