Fung.Yam
06/10/2021, 8:52 AMpackage private
with sealed and protected?gildor
06/10/2021, 9:03 AMFung.Yam
06/10/2021, 9:16 AMsealed class Example {
protected val protectedValue = 123
}
then we can access protectedValue
within the same package by creating a subclass, but impossible to do that in other package