Code:
class C
{
static int f1(int i)
{
System.out.print(i+",");
return 0;
}
public static void main(String [] args)
{
int i=0;
i=i+++f1(i);
System.out.print(i);
}
}
plz explain how?
|
Contributor
|
|
| 24Feb2008,22:22 | #1 |
|
Code:
class C
{
static int f1(int i)
{
System.out.print(i+",");
return 0;
}
public static void main(String [] args)
{
int i=0;
i=i+++f1(i);
System.out.print(i);
}
}
plz explain how? Last edited by shabbir; 25Feb2008 at 09:24.. Reason: Code block - http://www.go4expert.com/forums/misc.php?do=bbcode#code |