https://kotlinlang.org logo
#announcements
Title
# announcements
c

cy

06/05/2017, 12:07 PM
@ugurk @mg6maciej there is one more alternative to Java's implementation that could be suitable in some cases
Copy code
class C : A() {
    fun newB(): A.B {
        return object : B() {
        }
    }
}