Page 1 of 1

About Question enthuware.ocpjp.v17.2.1242 :

Posted: Sat Apr 22, 2023 5:16 am
by steinov
There are two typos in the explanation:
In point 1:
Many standard JDK classes such as implement java.io.Closeable interface, which extends java.lang.AutoCloseable.
. Either "such as" should be removed or an example should be inserted afterwards.
In point 8:
If code in try block throws exception and an exception also thrown while closing is resource,...
should be
If code in the try block throws an exception and an exception is also thrown while closing a resource,...

Re: About Question enthuware.ocpjp.v17.2.1242 :

Posted: Sat Apr 22, 2023 11:48 pm
by admin
Fixed both.
thank you for your feedback!