Using Scala traits with implemented methods in Java
I guess it is not possible to invoke methods implemented in Scala traits from Java, or is there a way? Suppose I have in Scala: trait Trait { def bar = {} } and in Java if I use it as class Foo implements Trait { } Java complains that Trait is not abstract and does not override abstract method bar() in Trait Tomasz Nurkiewicz Answer From Java perspective Trait.scala is compiled into Trait interface . Hence implementing Trait in Java is interpreted as implementing an interface - which makes your error messages obvious. Short answer: you can't take advantage of trait implementations in Java,