Instanceof


Source code

1class Instanceof {
2
3 void m(Object o) {
4 if (o instanceof Number) {
5 ((Number) o).doubleValue();
6 }
7 }
8
9}

Bytecode



Java compiler version: 21
Other examples
Main page