-5

I am curious how one would implement a Java Interface in Scala with the following signature;

public interface MyService<T> { ... }

Thanks!!

cbm64
  • 799
  • 1
  • 10
  • 21

1 Answers1

1
object ServiceImplementation extends MyService[String] { ... }

would be an example.

stefanobaghino
  • 8,477
  • 3
  • 28
  • 52