20 lines
252 B
Text
20 lines
252 B
Text
|
// call an method that does not exist (even in superclass)
|
||
|
|
||
|
class Main extends Other {
|
||
|
void main() {
|
||
|
aux();
|
||
|
go();
|
||
|
}
|
||
|
|
||
|
void aux() {}
|
||
|
}
|
||
|
|
||
|
class Other {
|
||
|
void aux() {}
|
||
|
void otherAux() {}
|
||
|
void noGo() {}
|
||
|
void GO() {}
|
||
|
void gO() {}
|
||
|
void Go() {}
|
||
|
}
|