Daniel Holle
786e0a7a23
Some checks failed
Build and Test with Maven / Build-and-test-with-Maven (push) Failing after 2m35s
17 lines
230 B
Java
17 lines
230 B
Java
import java.lang.String;
|
|
|
|
class Base {
|
|
toString() {
|
|
return "Base";
|
|
}
|
|
}
|
|
|
|
public class Bug300 extends Base {
|
|
public m() {
|
|
return super.toString();
|
|
}
|
|
|
|
toString() {
|
|
return "Derived";
|
|
}
|
|
} |