class JMM125 {
static int i;
public static void main(
String args[]) {
for (i=1; i<3; i++) {System.out.print(i);} // 1
for (int i=1; i<3; i++) {System.out.print(i);} // 2
int i; // 3
for (i=0; i<2; i++) {System.out.print(i);} // 4
System.out.print(JMM125.i);
}}
output: 1212013
I am not getting how the 3 comes in while invoking (JMM125.i)?
what are all the things happening here with int i?
Please explain me this...
i am running out of this concept...
Preparing SCJP5
Thanks in advance