1 2 3 4 5 6 7 8 9 10 11
import java.util.ArrayList; public class MusicList { private ArrayList<Music> musics; private SerialCom serialCom; public MusicList(SerialCom serialCom) { this.serialCom = serialCom; musics = new ArrayList<>(); } }