top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Which one will be faster in Java, Increment operator or Decrement operator?

0 votes
408 views

Which one will be faster in Java, Increment operator or Decrement operator?

a) for(int i = 0; i < 1000; i++) {}    
b) for(int i = 1000; i > 0; i--) {}
posted Jan 28, 2017 by Dhaval Vaghela

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

...