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
Get step-by-step solutions from verified subject matter experts
