Develop #1
@@ -14,6 +14,7 @@ public class Song {
|
|||||||
public String getSongName() {
|
public String getSongName() {
|
||||||
return songName;
|
return songName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getArtist() {
|
public String getArtist() {
|
||||||
return artist;
|
return artist;
|
||||||
}
|
}
|
||||||
@@ -21,4 +22,10 @@ public class Song {
|
|||||||
public String getSongAddress() {
|
public String getSongAddress() {
|
||||||
return songAddress;
|
return songAddress;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
String result = getSongName() + " By " + getArtist();
|
||||||
|
return result;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user