mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-22 14:49:45 +08:00
21 lines
262 B
Java
21 lines
262 B
Java
|
public class Invoke_2
|
||
|
{
|
||
|
static int s;
|
||
|
|
||
|
public static void foo (int a, int b)
|
||
|
{
|
||
|
System.out.println(a + " " + b);
|
||
|
}
|
||
|
|
||
|
public static void main(String[] args) {
|
||
|
foo (bar(), s);
|
||
|
}
|
||
|
|
||
|
public static int bar()
|
||
|
{
|
||
|
s = 33;
|
||
|
return 99;
|
||
|
}
|
||
|
}
|
||
|
|