If I have gained the ability to recite the lyrics of a song after being "exposed" to it for some time, it seems that I have indeed learned something.
If you really WANT to learn something you cannot rely on such accidents happening. Accidents are not a method.