Possible Duplicate:
Why are we using i as a counter in loops?
Why are variables “i” and “j” used for counters?
This may seems stupid, but why everybody use i (if i is already in use, then j) in for loop checking ?
Means:
for(int i = 1;i <= 5;i++){
for(int j = 1;j <= i;j++){
System.out.print(i);
}
Why i and j ? We can use first and second also ? Check this, all (9 out of 10) uses i, j. Why ? Any reason or just doing because everybody does that ?