data class have one property visibility modifier is private and delegated by price. why it not print [100,200,300,400]$.
data class Container(val food: String, private val prices: MutableList) : MutableList by prices
var (food , prices) = Container(“chicken”, mutableListOf(100,200,300,400))
println( "Food: $food and Prices: prices")
// result: name: chicken and Prices: 200$