https://kotlinlang.org logo
#getting-started
Title
# getting-started
e

elect

08/28/2021, 9:15 AM
extending the following interface
Copy code
public interface Named {
    String getName();
is there a way to overwrite that in an extending class using a plain field (
var name: String
) instead of using mandatory a method?
e
e

elect

08/28/2021, 4:20 PM
damn, I even voted for it... I totally forgot 😄 thanks
10 Views