A psychologist explains you that learning can be best defined in terms of underlying thought process. What theory is being stated

Cognitive learning

Social learning

None of these

Trial and error