About Question enthuware.ocpjp.v7.2.1240 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
thodoris.bais
Posts: 25
Joined: Sat Jun 03, 2017 4:56 pm
Contact:

About Question enthuware.ocpjp.v7.2.1240 :

Post by thodoris.bais »

Code: Select all

Any exception that is thrown while closing a resource is added to the list of suppressed exceptions of the exception thrown while opening a resource (or thrown from the try block.)
That said, suppressed exceptions do not prohibit the program from continuing its normal execution.

enthunoob
Posts: 60
Joined: Thu Apr 15, 2021 12:21 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1240 :

Post by enthunoob »

The close method for D2 wasn't called ('Closing device D2' was not printed), because the constructor method of D2 did not fully finish. Is this assumption correct?

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1240 :

Post by admin »

Correct.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 42 guests