1
Дано:
public class Test {
public static String someMethod() {
try {
throw new NullPointerException();
} catch (NullPointerException e) {
return "catch";
} finally {
return "finally";
}
}
public static void main(String[] args) {
System.out.println(someMethod());
}
}
Каков результат?
Please log in or register to have a possibility to add comment.