This discussion is archived
5 Replies Latest reply: May 13, 2013 7:20 AM by PhHein RSS

What is the differce in these bellow for loops

1008567 Newbie
Currently Being Moderated
loop 1 : for(int i=0;i<array.length;i++){
}

===================

loop2 :

int len =array.length;

for(int i=0;i<len;i++){

}

Thanking you!!!!!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points