|
Last change
on this file since 3127 was 1389, 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:
226 bytes
|
| Line | |
|---|
| 1 | public class PR6820
|
|---|
| 2 | {
|
|---|
| 3 | static void m(int a, int b) {
|
|---|
| 4 | System.out.println("a="+a+" b="+b);
|
|---|
| 5 | }
|
|---|
| 6 |
|
|---|
| 7 | static int a = 10;
|
|---|
| 8 |
|
|---|
| 9 | public static void main(String[] args) {
|
|---|
| 10 | int b = 10;
|
|---|
| 11 | m(a,++a);
|
|---|
| 12 | m(b,++b);
|
|---|
| 13 | }
|
|---|
| 14 | }
|
|---|
| 15 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.