Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Що знаведеного є розширенням функцій?
Що з
наведеного є розширенням функцій?
funInt::pow(x: Int) = toDouble().pow(x).toInt()
fun
Int::pow(x: Int) = toDouble().pow(x).toInt()
fun Int.pow(x:Int) = toDouble().pow(x).toInt()
fun Int.pow(x:
Int) = toDouble().pow(x).toInt()
funInt->pow(x: Int) = toDouble().pow(x).toInt()
Int->pow(x: Int) = toDouble().pow(x).toInt()
funInt<-pow(x: Int) = toDouble().pow(x).toInt()
Int<-pow(x: Int) = toDouble().pow(x).toInt()
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!