Question: / / This class def should be placed in the private section of Playlist / / at an appropriate location. ( What might be an
This class def should be placed in the private section of Playlist
at an "appropriate" location. What might be an inappropriate location?
class Node
private:
SongEntry song;
Node next;
public:
Nodeconst SongEntry& song SongEntry : songsongnextnullptr
~Node; Do not do recursive free
SongEntry& getsong return song;
Node getnext return next;
Node insertnextNode p;
Node removenext;
friend class Tests; Don't remove this line
;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
