class Outer {
class Inner {
private def f() { println("f") }
class InnerMost {
f()
}
}
(new Inner).f() // is it legal in Scala? why? woudl it be legal in Java?
}
class Outer {
class Inner {
private def f() { println("f") }
class InnerMost {
f()
}
}
(new Inner).f() // is it legal in Scala? why? woudl it be legal in Java?
}
class Outer {
class Inner {
private def f() { println("f") }
class InnerMost {
f()
}
}
(new Inner).f() // is it legal in Scala? why? woudl it be legal in Java?
}
status | not learned | measured difficulty | 37% [default] | last interval [days] | |||
---|---|---|---|---|---|---|---|
repetition number in this series | 0 | memorised on | scheduled repetition | ||||
scheduled repetition interval | last repetition or drill |