mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
13 lines
197 B
Java
13 lines
197 B
Java
class ExtendsB extends B {
|
|
@Override
|
|
public Integer foo() {
|
|
return 239;
|
|
}
|
|
|
|
void test() {
|
|
int x = foo();
|
|
Integer y = foo();
|
|
Object z = foo();
|
|
}
|
|
}
|