Hi Everybody,
I have newly joined the team. I am not clear of the execution of the following code, can any one of you help me out,
here is the code,
class C
{
static int f1(int i)
{
System.out.print(i + ",");
return 3;
}
public static void main (String[] args)
{
int i = 5;
i = i++ + f1(i);
System.out.print(i);
}
}
The output is 6,8 astonishingly...
Thanks in Advance,
Siva.