17 lines
230 B
Plaintext
17 lines
230 B
Plaintext
|
import java.lang.String;
|
||
|
|
||
|
class Base {
|
||
|
toString() {
|
||
|
return "Base";
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public class Bug300 extends Base {
|
||
|
public m() {
|
||
|
return super.toString();
|
||
|
}
|
||
|
|
||
|
toString() {
|
||
|
return "Derived";
|
||
|
}
|
||
|
}
|