About Question enthuware.ocpjp.ii.v11.2.3358 :
Moderator: admin
-
- Posts: 5
- Joined: Fri Jan 17, 2014 6:08 am
- Contact:
About Question enthuware.ocpjp.ii.v11.2.3358 :
Maybe an extra explanation is in order for the fact that try(d1; ...) is a thing now (the object itself is created before the try statement).
-
- Site Admin
- Posts: 10090
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3358 :
Explanation has been enhanced to explain that it is ok to put d1 in try-with-resources block because it is effectively final.
thank you for your feedback!
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
-
- Posts: 30
- Joined: Sun Feb 18, 2024 7:21 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3358 :
I did not notice d1 hidden in the corner!
Who is online
Users browsing this forum: No registered users and 23 guests