https://kotlinlang.org logo
#general-advice
Title
# general-advice
s

Sebastian Schuberth

11/24/2023, 3:40 PM
Suppose I need to implement two interfaces in my class, and these two interfaces contain declarations of equally named properties, but of different types. E.g. once there is
val id: Int
and in the other interface there is
val id: String
. How would I resolve that in my implementation?
k

Klitos Kyriacou

12/14/2023, 10:02 AM
👍🏻 1
2 Views