Join Slack
Powered by
Is it possible to pass parameters to a sublass wit...
# announcements
j
jdiaz
11/14/2016, 7:40 PM
Is it possible to pass parameters to a sublass without marking them as "override"? I want to have a class A(var name: String) and B: A(name) but I'm not sure why I would have to have "override val name: String" inside the B constructor
8
Views
Open in Slack
Previous
Next