Hi to every one..
This is ishmayel.. I am going to write complete my
SCJP soon..
I had the following doubt regrading the for loop can any one help me please.
1. for( int i=0; i<3; i++)
{
System.out.print(i+"--");
}
out put is ::
0--1--2 2. for( int i=0; i<3; ++i)
{
System.out.print(i+"--");
}
out put is ::
0--1--2 I am thing that out put is like this.... ::
1--2 my question is why I am getting the same output in both conditions...
If both loops are the same than what is the difference between the
for( int i=0; i<3; i++) and
for( int i=0; i<3; ++i) I hope any one may help me soon.
Thanks in Advance..
Ishmayel.