O'Reilly logo

Programmer's Guide to Java™ Certification, A: A Comprehensive Primer, Second Edition by Rolf W. Rasmussen, Khalid A. Mughal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter Summary

The following information was included in this chapter:

  • explanation of the selection statements: if, if-else, switch

  • explanation of the iteration statements: for, while, do-while

  • explanation of the transfer statements: break, continue, return

  • discussion of exception handling and exception classes in the core APIs

  • defining new exception types

  • explanation of the try-catch-finally construct and control flow paths through the construct

  • throwing explicit exceptions with the throw statement

  • using the throws clause to specify checked exceptions

  • explanation of the assert statement

  • using, compiling, and executing assertions

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required