public static void main(String[] args) {
Song song = new Song();
song.songName = "庐州月";
song.author = "许嵩";
song.album = "寻雾启示";
song.time = 253;
System.out.println("建立好了一首歌:"+song.toString());
PlayList playList = new PlayList();
// 定义播放列表的名称
playList.playListName = "播放列表一";
// 定义播放列表的长度
playList.songs = new Song[0];
// 创建对象
MusicCollection mc = new MusicCollection();
//创建主播放列表
mc.Library = new PlayList();
mc.Library.playListName = "Library";
mc.Library.songs = new Song[0];
// 其他播放列表中有一个播放列表,就是播放列表一
mc.otherLibrary = new PlayList[1];
mc.otherLibrary[0] = playList;