Hacker News new | ask | show | jobs
by SemanticStrengh 1493 days ago
How does Kotlin solve those use cases?

> instance.print(); // prints Parent

why? the parent print should be shadowed/overidden by the child bruh

1 comments

statics don't override
oops my bad