Dinu Comendant2,788 Points
I was wondering, can't we write Map<String, mSongs> instead of Map<String, List<Song>> ? Aren't they the same?
I’m not sure but when u declare a Map u need to be explicit about the type of data structure your going to use. and because of that you have to write List<string,List<Song>>