PRO192_-_PE04_-_FA_2023_1303.webp
G

PRO192_-_PE04_-_FA_2023_1303.webp

Where:
• addSong(Song song): void - add a new song
Song List
+addSong(Song song): void
to the SongList
getSongMaxDuration():Song return the
+getSongMaxDuration (): Song
song with the longest duration.
+printSongList(): void
printSongList(): void - prints a list of songs in ascending order by name
Hints: to declare the SongList class, you can use the following statement:public class SongList extends TreeSet <Song>
{
1/....
}
The program output might look something like this (using the SongList class):
Zoom
+ 100%
Close

Chưa có bình luận nào.

Thông tin

Category
PRO192
Thêm bởi
graceful_beauty
Ngày thêm
Lượt xem
4,496
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRO192_-_PE04_-_FA_2023_1303.webp
File size
42.1 KB
Dimensions
1552px x 652px

Share this media

Back
Bên trên Bottom