You have been tasked to create a program named “artistSearchOop” that will allow a user to search for an artist from a table and display the artist information including the Artist name, the artist DVD sale, the artist CD sale, the artist Blu Ray Sale, and the total sale for that specific Artist. You have been given Table 1 which represents the Sales Summary of artists sales. Program Requirements 1. The interface declares a method called salesSummary(); 2. The abstract class will have the following: a. The abstract class declares the following variables int rowSum int colSum and these variables should be initialized in the abstract constructor b. Thae abstract class also Implements the salesSummary(). The salesSummary() method will declare two arrays as follows:(see images) c. The salesSummary() method should calculate the total of each column in the artistSales array and display a combined (artistSales and artistNames) table with the names and sales as shown in Table 1.
You have been tasked to create a
Program Requirements
1. The interface declares a method called salesSummary();
2. The abstract class will have the following:
a. The abstract class declares the following variables int rowSum
int colSum and these variables should be initialized in the abstract constructor
b. Thae abstract class also Implements the salesSummary(). The salesSummary() method will declare two arrays as follows:(see images)
c. The salesSummary() method should calculate the total of each column in the artistSales array and display a combined (artistSales and artistNames) table with the names and sales as shown in Table 1.
Step by step
Solved in 3 steps