LastExceed
06/08/2021, 8:44 AMclass AA
with a property x: Int
and a class BB
with properties x: Int
and y: Int
where BB
inherits from AA
(alternative: inner class would be ok too in case thats the only option)
i've tried the snippets below, but no success so far. i checked the guide but couldnt find what i need. how do i make this work?LastExceed
06/08/2021, 10:23 AMval x: AA = BB(1,2)
. is this there a better way ?andylamax
06/09/2021, 2:59 AMLastExceed
06/10/2021, 12:04 PM