package com.bleum;
class X{
public static int x = 5;
}
public class TestFinnally {
public int inc(X xx){
int x = X.x;
try{
x = 1;
return x;
}catch(NullPointerException e){
x = 2;
return x;
}finally{
x = 3;
}
}
public static void main(String[] args) {
X x = new X();
System.out.println(new TestFinnally().inc(x));
}
}