Why code in finally will execute even it has returned in try block?
Question
Code:
public String get() {
try {
//doSomething
return "Hello";
}
finally {
System.out.print("Finally");
}
How does this code execute?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow