Question: Given the following task, which would be the most appropriate method heading? Results have been calculated for taxAmount and totalSales. Write a method heading that

Given the following task, which would be the most appropriate method heading?

Results have been calculated for taxAmount and totalSales. Write a method heading that accepts these values as input for display purposes.

a. public static DisplayResults( )

b. public DisplayResults(double)

c. public static void DisplayResults( )

d. public static void DisplayResults(double taxAmount, double totalSales)

e. public static void DisplayResults(taxAmount, totalSales)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Systems Analysis Design Questions!