Among predators there is a large degree of specialization. Many predators specialize in hunting only one species of prey. Others are more opportunistic and will kill and eat almost anything (examples: humans, leopards, dogs and alligators). The specialists are usually particularly well suited to capturing their preferred prey. The prey in turn, are often equally suited to escape that predator. This is called an evolutionary arms race and tends to keep the populations of both species in equilibrium. Some predators specialize in certain classes of prey, not just single species. Some will switch to other prey (with varying degrees of success) when the preferred target is extremely scarce, and they may also resort to scavenging or a herbivorous diet if possible.[citation needed]
If scavengers' food becomes scarce, they may turn to what type of diet?
herbivorous