mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 16:50:57 +00:00
22 lines
323 B
Java
22 lines
323 B
Java
|
public class G19990310_01
|
||
|
{
|
||
|
public static void main (String[] args)
|
||
|
{
|
||
|
int i = 0;
|
||
|
try
|
||
|
{
|
||
|
System.out.println ("pass 1");
|
||
|
i++;
|
||
|
}
|
||
|
finally
|
||
|
{
|
||
|
System.out.println ("pass 2");
|
||
|
i++;
|
||
|
}
|
||
|
if (i == 2)
|
||
|
System.out.println ("OK");
|
||
|
else
|
||
|
System.out.println ("NG i = " + i);
|
||
|
}
|
||
|
}
|