Skip to Main Content
OCP Java SE 8 Programmer II Exam Guide (Exam 1Z0-809), 7th Edition
book

OCP Java SE 8 Programmer II Exam Guide (Exam 1Z0-809), 7th Edition

by Kathy Sierra, Bert Bates, Elisabeth Robson
May 2018
Intermediate to advanced content levelIntermediate to advanced
925 pages
23h 8m
English
McGraw-Hill
Content preview from OCP Java SE 8 Programmer II Exam Guide (Exam 1Z0-809), 7th Edition

Images

3

Assertions and Java Exceptions

CERTIFICATION OBJECTIVES

•       Use try-catch and throw Statements

•       Use catch, Multi-catch, and finally Clauses

•       Use Autoclose Resources with a try-with-resources Statement

•       Create Custom Exceptions and Auto-closeable Resources

•       Test Invariants by Using Assertions

Images     Two-Minute Drill

Q&A   Self Test

The assertion mechanism gives you a way to do testing and debugging checks on conditions you expect to smoke out while developing, when you don’t want the runtime overhead associated with ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808

OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808

Jeanne Boyarsky, Scott Selikoff

Publisher Resources

ISBN: 9781260117370