Law of effect is defined as a principle of learning that maintains that behavior is guided by its previous consequences. Behaviors that have met with prior reinforcement persist, and those that have not perish.