Electric with cable, hands down. They are cheaper than battery powered, and all electric mowers will be much quieter than gas powered mowers. The only consideration is if your yard is too large for a cord to reach the far corners.
The best advice I can give you with regards to the cord is to not run over it. Yes, you might not cut the cord, yes, you might be fine, yes, GFCI might help, yes, the breaker might trip. But pay attention and be mindful of the cord at all times. It is a hassle at first, but I quickly got the hang of "throwing" the cord, swinging it from side to side to move it out of the way.
I have personal experience with running over the cord. The outlet was not GFCI, which was not ideal. Some answers and comments are saying the breaker will provide protection. I don't think this is the case. Someone else was mowing, and ran over the cord, not cutting through, but stripping a good amount of insulation and exposing copper. When I saw it, I assumed it had been unplugged, and (stupidly) touched the bare copper. I got a strong tingle, and fortunately I released the cord before any permanent damage was done. It felt a bit like brief contact with an electric cattle fence (story for another time). The breaker did not trip. I didn't do a full post-mortem, but my guess is only the hot wire was cut, so there was no short. Then, when I touched it, a circuit was completed between my body and the ground (via moisture on my shoes, maybe? not sure).
EDIT: In response to comments, I remembered, I was also using one of those converters to plug a grounded cord in to a non-grounded outlet. Which means that I had even less protection than I should have. I think the moral of my story is "Follow the electrical code, it might save your life."