I want to extend a trait from Scala object and override those methods which are in trait. So my doubt is those methods will become static to that Object or instance methods, and is this good approach to extend from trait to Scala Object. Please help on this
trait A{
def show:Unit
}
object B extends A{
override def show(): Unit = {
println("inside Object")
}
}