This situation as demonstrating "latent learning".
Latent learning is a type of getting the learning that isn't promptly communicated in an overt reaction; it happens with no conspicuous reinforcement of the conduct or affiliations that are found out. For instance, a youngster may figure out how to finish a math issue in class, however this learning isn't quickly self-evident.