Personally. I would choose the pan frying. There's just something about the taste that happens to the beef as the outside cooks and get caramelized. Broiling in the oven is also ok, and probably a bit healthier, but it just doesn't create the great flavor that frying a hamburger gives.