mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
22 lines
434 B
Java
Vendored
22 lines
434 B
Java
Vendored
public class Base {
|
|
|
|
protected static String BASE_ONLY = "BASE";
|
|
|
|
protected static String baseOnly() {
|
|
return BASE_ONLY;
|
|
}
|
|
|
|
protected static String TEST = "BASE";
|
|
|
|
protected static String test() {
|
|
return TEST;
|
|
}
|
|
|
|
public static class Derived extends Base {
|
|
protected static String TEST = "DERIVED";
|
|
|
|
protected static String test() {
|
|
return TEST;
|
|
}
|
|
}
|
|
} |