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

c# - Better 64-bit byte array hash -

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

php - Zend Framework / Skeleton-Application / Composer install issue -