Answer:
public class PlayListEntry {
string title="";
string artist="";
int playCount=0;
void SetTitle(string title){
this.title=title;
}
string GetArtist(){
return this.artist;
}
void SetArtist(string artist){
this.artist=artist;
}
int GetplayCount (){
return this.playCount ;
}
void SetplayCount (int playCount ){
this.playCount =playCount ;
}
}
Explanation:
Here in above class we are taking instance variables and assigning them in set methods and returning them in get methods