dimsuz
03/12/2018, 4:08 PMinternal data class MyData(val outerValue: Int) {
internal data class InnerData(val innerval: Int)
}
Is there any point at all in using internal
modifier on an inner class here? If one leaves it only for the outer class inner one would be inaccessible anyway. Right?
Maybe there are some other considerations here?