标签: java scala constructor base-class
Scala类继承JFrame类
class App extends JFrame { public App { //how to call this super method super("Hello world"); } }
答案 0 :(得分:1)
正确的语法是:
class App extends JFrame("Hello world") { // your code }