You need to implement the FootRace class

DRAG DROP
You are extending an application that stores and displays the results of various types of foot
races. The application contains the following definitions:

The following code is used to display the result for a race:

The contents of the console must be as follows:
99 seconds
1.65 minutes
99
You need to implement the FootRace class.
Match the method declaration to the method body, (To answer, drag the appropriate
declaration from the column on the left to its body on the right. Each declaration may be
used once, more than once, or not at all. Each correct match is worth one point.)

DRAG DROP
You are extending an application that stores and displays the results of various types of foot
races. The application contains the following definitions:

The following code is used to display the result for a race:

The contents of the console must be as follows:
99 seconds
1.65 minutes
99
You need to implement the FootRace class.
Match the method declaration to the method body, (To answer, drag the appropriate
declaration from the column on the left to its body on the right. Each declaration may be
used once, more than once, or not at all. Each correct match is worth one point.)

Answer:



Leave a Reply 0

Your email address will not be published. Required fields are marked *