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
Throwable
:
Content language: English
Русский
What will be printed out as the result of the following code execution? public class Exceptions { public static void main(String[] args) { try { throw new UnsupportedOperationException(); } catch(Throwable t) { System.out.print("1"); } catch(Exception e) { System.out.print("2"); } catch(UnsupportedOperationException uoe) { System.out.print("3"); } } }
Throwable
Select a good (preferred) way to catch Exceptions in Scala:
Throwable
← Prev
1
Next →
Sign Up Now
or
Subscribe for future quizzes