Quizzes
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
parameters
:
Content language: English
Русский
What is the largest Tuple that Scala supports?
parameters
Passing repeated parameters
parameters
What is a correct way to pass an array as a repeated parameter?
parameters
Curly braces instead of parentheses
parameters
Select all correct invocations of the given function: def sum(x: Int, y: Int = 0) = x + y
parameters
Select correct statement regarding evaluation of functions parameters
parameters
What is the correct syntax for using call-by-name evaluation strategy?
parameters
What is the correct syntax for using call-by-value evaluation strategy?
parameters
What is default evaluation strategy in Scala?
parameters
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?
parameters
← Prev
1
2
Next →
Sign Up Now
or
Subscribe for future quizzes