Fears refer to the emotional response of feeling afraid or anxious about a specific object, situation, or event. It involves a strong negative reaction towards something perceived as threatening.
Classical conditioning is when we learn to associate two stimuli together through repeated pairing. In John's case, his fear of all dogs may have been learned through classical conditioning if he associated the pain from being bitten with all dogs.
Generalization occurs when we respond to similar stimuli in the same way we would respond to the original stimulus. In this case, John's fear of all dogs can be seen as generalizing his fear from one dog bite to all dogs.