finally tag

1 questions


1 answers
140 views
0
Is final always executed in the try catch phrase?

try { something(); return success; } catch (Exception e) { return failure; } finally { System.out.println(i don't know if this will get printed out.); }Even if I return in try and catch in...


© 2024 OneMinuteCode. All rights reserved.