| 1 | package Question8_3; |
| 2 | |
| 3 | public class CDPlayer { |
| 4 | private Playlist p; |
| 5 | private CD c; |
| 6 | |
| 7 | public Playlist getPlaylist() { return p; } |
| 8 | public void setPlaylist(Playlist p) { this.p = p; } |
| 9 | public CD getCD() { return c; } |
| 10 | public void setCD(CD c) { this.c = c; } |
| 11 | |
| 12 | public CDPlayer(Playlist p) { this.p = p; } |
| 13 | public CDPlayer(CD c, Playlist p) { |
| 14 | this.p = p; |
| 15 | this.c = c; |
| 16 | } |
| 17 | |
| 18 | public CDPlayer(CD c){ this.c = c; } |
| 19 | public void playSong(Song s) { } |
| 20 | } |
nothing calls this directly
no outgoing calls
no test coverage detected