Last change
on this file was 2, checked in by bird, 22 years ago |
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
262 bytes
|
Line | |
---|
1 | public class Invoke_2
|
---|
2 | {
|
---|
3 | static int s;
|
---|
4 |
|
---|
5 | public static void foo (int a, int b)
|
---|
6 | {
|
---|
7 | System.out.println(a + " " + b);
|
---|
8 | }
|
---|
9 |
|
---|
10 | public static void main(String[] args) {
|
---|
11 | foo (bar(), s);
|
---|
12 | }
|
---|
13 |
|
---|
14 | public static int bar()
|
---|
15 | {
|
---|
16 | s = 33;
|
---|
17 | return 99;
|
---|
18 | }
|
---|
19 | }
|
---|
20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.