Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

First I will give you the intro and hints for the Homework, then i will give the

ID: 3531399 • Letter: F

Question

First I will give you the intro and hints for the Homework, then i will give the codes i have written, and the last code is the one the single problem occurs, it says the symbol cannot be found for the word "Song" in the lines 14, and 18 in the last code i have provided. I already appreciate the help, Thanks!

---------------------------------

Task #1 Average Class

Create a class called Average according to the UML diagram.

Average
- data[]: int
- mean: doub le
+ Average()
+ calculateMean(): void
+ toString( ): String
+ selectionSort( ): void


This class will allow a user to enter 5 scores into an array. It will then rearrange the data in
descending order and calculate the mean for the data set.

Attributes:

Explanation / Answer

Song[] cd = new Song[6]

cd[i] = new Song(title, artist);

These statements cannot identify the symbol SOng because they have not been inherited


import java.[package name].Song;

This includes the class song in the last code

Now the classes should be inserted in a package and each class should be connected as per the inheritence.