PRG/421 Week 2 Java 2.16 LAB: Playlist (output linked list)

$ 6

PRG/421 Week 2 Lab 2.16 LAB: Playlist (output linked list)

Given main(), complete the SongNode class to include the printSongInfo() method. Then write the Playlist class printPlaylist() method to print all songs in the playlist. DO NOT print the dummy head node.

Ex: If the input is:
Stomp!
380
The Brothers Johnson
The Dude
337
Quincy Jones
You Don’t Own Me
151
Lesley Gore
-1

the output is:
LIST OF SONGS
————-
Title: Stomp!
Length: 380
Artist: The Brothers Johnson

Title: The Dude
Length: 337
Artist: Quincy Jones

Title: You Don’t Own Me
Length: 151
Artist: Lesley Gore

997 in stock

SKU: PRG421WK2LAB2P16 Category:

Description

PRG/421 Week 2 Lab 2.16 LAB: Playlist (output linked list)

Given main(), complete the SongNode class to include the printSongInfo() method. Then write the Playlist class printPlaylist() method to print all songs in the playlist. DO NOT print the dummy head node.

Ex: If the input is:
Stomp!
380
The Brothers Johnson
The Dude
337
Quincy Jones
You Don’t Own Me
151
Lesley Gore
-1

the output is:
LIST OF SONGS
————-
Title: Stomp!
Length: 380
Artist: The Brothers Johnson

Title: The Dude
Length: 337
Artist: Quincy Jones

Title: You Don’t Own Me
Length: 151
Artist: Lesley Gore

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.