mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
11 lines
275 B
Java
Vendored
11 lines
275 B
Java
Vendored
class JavaClass1 {
|
|
protected Object value = null;
|
|
|
|
public Object getSomething() { return null; }
|
|
public void setSomething(Object value) { this.value = value; }
|
|
}
|
|
|
|
class JavaClass2 extends JavaClass1 {
|
|
public String getSomething() { return (String)value; }
|
|
}
|