Tag

ocp java se 7

Ways to pause thread execution in OCP Java SE 7

By Mala Gupta , author of OCP Java SE 7 Programmer II Certification Guide
Imagine while debugging or testing your code, you need to reproduce a bug and you need to make a thread pause its execution and give up its current use of the processor. In this article, we discuss some methods you can use to do that.

Ways to pause thread execution in OCP Java SE 7 (PDF)

Using Throws and Throw Statements in Java

In this article, based on chapter 1 of OCP Java SE 7 Programmer II Certification Guide, author Mala Gupta explains how to define methods that throw exceptions, the different combinations of defining overriding methods, and when the overridden or overriding methods throw checked exceptions.

Using Throws and Throw Statements in Java (PDF)

© 2022 Manning — Design Credits