|
Last change
on this file since 3127 was 2, checked in by bird, 23 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:
323 bytes
|
| Line | |
|---|
| 1 | public class G19990310_01
|
|---|
| 2 | {
|
|---|
| 3 | public static void main (String[] args)
|
|---|
| 4 | {
|
|---|
| 5 | int i = 0;
|
|---|
| 6 | try
|
|---|
| 7 | {
|
|---|
| 8 | System.out.println ("pass 1");
|
|---|
| 9 | i++;
|
|---|
| 10 | }
|
|---|
| 11 | finally
|
|---|
| 12 | {
|
|---|
| 13 | System.out.println ("pass 2");
|
|---|
| 14 | i++;
|
|---|
| 15 | }
|
|---|
| 16 | if (i == 2)
|
|---|
| 17 | System.out.println ("OK");
|
|---|
| 18 | else
|
|---|
| 19 | System.out.println ("NG i = " + i);
|
|---|
| 20 | }
|
|---|
| 21 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.