I was wondering, can't we write Map<String, mSongs> instead of Map<String, List<Song>> ? Aren't they the same?
status 40113,974 Points
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>>