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
exceptions
:
Content language: English
Русский
What will be printed out as the result of the following code execution? object Main extends App { def f(): Int = try { return 1 } finally { return 2 } def g(): Int = try { 5 } finally { 7 } println(f() + g()) }
exceptions
Select a good (preferred) way to catch Exceptions in Scala:
exceptions
← Prev
1
2
3
Next →
Sign Up Now
or
Subscribe for future quizzes