Тесты
Язык сайта: Русский
Українська
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
Следующая →
Зарегистрируйся сейчас
или
Подпишись на будущие тесты