Please find my sample solution for the exercise here:
Of course, you probably have used other phones here.
fun main(){
val iphone = MobilePhone("iOS", "Apple", "iPhone 12")
val galaxyS20 = MobilePhone("Android","Samsung", "Galaxy S20")
val mateXS = MobilePhone("Android", "Huawei", "Mate X S")
}
class MobilePhone(osName: String, brand: String, model: String){
init {
println("The phone $model from $brand uses $osName as its Operating System")
}
}