That's not a unique attribute of democracy nor is it guaranteed. Any system of government that hasn't succumbed to corruption and factionalism will have clear rules of succession. Even an absolute monarchy can go on for many generations without bloodshed.