cara menggunakan variabel dari kelas induk di Kotlin
//add open to the inheirted variable
open class A{
open var x=5
}
class B:A(){
override var x=2*super.x
}
M Akrm
//add open to the inheirted variable
open class A{
open var x=5
}
class B:A(){
override var x=2*super.x
}