Which for loop is faster in java and why
From the following for loops, which one is faster in java

       1. for(int i = 100000; i > 0; i--) {}
       2. for(int i = 1; i < 100001; i++) {}

Please provide the valuable reason for the speed. This really helps me in improving the performance of my application.

Thanks,<br>
Anil Kumar C
Which for loop is faster in java and why
===

From the following for loops, which one is faster in java

       1. for(int i = 100000; i > 0; i--) {}
       2. for(int i = 1; i < 100001; i++) {}

Please provide the valuable reason for the speed. This really helps me in improving the performance of my application.

Thanks,<br>
Anil Kumar C