``` open class ImmutableValue(v: Int) { open var ...
# announcements
a
Copy code
open class ImmutableValue(v: Int) {
	open var v: Int = v
		protected set
}

class MutableValue(v: Int): ImmutableValue(v) {
	override var v: Int
		get() = super.v
		set(value) {
			super.v = value
		}
}