Try catch finally
Source code
1
class
TryCatchFinally {
2
3
void
m(Object o) {
4
try
{
5
o.notify();
6
}
catch
(Exception e) {
7
e.notify();
8
}
finally
{
9
o.notifyAll();
10
}
11
12
}
13
}
Bytecode
Java compiler version:
21
Other examples
Main page