compiler-design-eth/javali_tests/HW3_nop90/EntrypointTests/OkInheritedMainMethod.javali

7 lines
125 B
Text
Raw Normal View History

2020-01-15 22:32:25 +01:00
// The main method can be inherited from another class
class OtherMain {
void main () {}
}
class Main extends OtherMain {}