When it comes to burning calories there are many good ways to do it and either way you will be doing the exact same thing. It shouldn't really matter how you do it, but the speed you do it will vary on what exercise you do. Of course walking a mile will take longer then burning 100 calories on a bike, but this is your own personal preference.