Choose the right output of the code below:
class Cat(val name: String, val color: String, val size: Int) {
fun sayMeow() {
println("$name says: \"Meow\".")
}
inner class Bow(val color: String, val size: Int) {
fun printColor() {
print("The cat named $name is $color. ")
print("The size of $name is $size. ")
print("The cat named $name has a ${this.color} bow. ")
print("The size of the bow is ${this.size}.")
}
}
}
fun main() {
val cat = Cat("Bob", "white", 10)
val bow = cat.Bow("red", 15)
bow.printColor()
}