Can You Ride a Bike on the Sidewalk?

The presence of bicycles on sidewalks has long been debated: Is it legal? Is it safer than the road? Shouldn’t children be able to ride on sidewalks?