Scala calling super from a base class that extends a java class -


a scala class inherits jframe class

class app extends jframe {   public app {     //how call super method     super("hello world");   } } 

the correct syntax is:

class app extends jframe("hello world") {   // code } 

Comments

Popular posts from this blog

python - argument must be rect style object - Pygame -

webrtc - Which ICE candidate am I using and why? -

c# - Better 64-bit byte array hash -