Hiking on terrain that isn't simply flat or similar everywhere (like really established trails with no hills) is vastly superior to either of those techniques. You will work out all of the same muscles and more and in a different variety than you would otherwise.
Plus you can wear a backpack too.