I'm learning Kotlin at school and it is beig quite difficult to me. I was given this example of code but I'm not understanding at all what it does, specially the part marked as a comment. I hope you can help me. Thanks
open class W{
open fun f(){
println("en W.f()")
}
}
class X : W(){
override fun f(){
println("en X.f")
}
// FROM HERE
inner class Y{
fun g() {
super@X.f()
f()
// UNTIL HERE
}
}
}
fun main() {
val x = X()
x.Y().g()
}