Individuals develop their attitudes through learning.
Consequences of actions throughout life affect the way individuals act and thus, their attitudes change as well.