0
このPythonコードでPythonのVARS()Kotlin
class Test:
def __init__(self):
self.one = "python"
self.two = "is"
self.three = "fun!"
t=Test()
print(vars(t))
プリントフィールドとその値のコレクション: {'one': 'python', 'two': 'is', 'three': 'fun!'}
がどのように私はKotlinで同じことを行うことができますか?