Тести
Мова сайту: Українська
Українська
English
Русский
Тести з програмування
Вхід
Реєстрація
Тести з програмування
Теорія
Сніпети
Статті
Головна
Android
Ціни
FAQ
Історія Cosmo
Правила та умови сервісу
Політика конфіденційності
Політика щодо файлів cookie
Зворотній Зв’язок
call-by-value
:
Мова контенту: English
Русский
Select correct statement regarding evaluation of functions parameters
call-by-value
What is the correct syntax for using call-by-value evaluation strategy?
call-by-value
What is default evaluation strategy in Scala?
call-by-value
Given the following definition def loop: Boolean = loop which options will result in an infinite loop?
call-by-value
Given the following code: object Quizful { def main(args: Array[String]) { println(s"Delayed time: ${delayed(time())}") } def time() = { println("Getting time in nano seconds") System.nanoTime } def delayed( t: => Long ) = { println("In delayed method") println("Param: " + t) t } } What will be printed into the console after running this programm?
call-by-value
Select all correct implementations of the or(x,y) function that for all argument expressions x and y , it evaluates same as x || y boolean expression.
call-by-value
Select all correct implementations of the and(x,y) function that for all argument expressions x and y , it evaluates same as x && y boolean expression.
call-by-value
← Попередня
1
Наступна →
Зареєструйся Зараз
або
Підпишись на майбутні тести