+ 5

What does i mean in Java?

12th Feb 2019, 7:07 PM
RoadToTheDream
RoadToTheDream - avatar
3 Answers
+ 12
It's not specific to Java either. i can be a variable name in many different languages. For loop iterations i may stand for index.
13th Feb 2019, 8:08 AM
Sonic
Sonic - avatar
+ 10
Its just a variable name used in for loops its short for "iteration" but theres no diffrenece between using i or any other variable name you could use x instead if you wanted.
12th Feb 2019, 9:55 PM
D_Stark
D_Stark - avatar
+ 2
I is the name of the variable declared to be of int type, used for loops that I know of, for loops etc. It could easily be a different letter.
14th Feb 2019, 7:46 AM
Markpeach96
Markpeach96 - avatar