I think you should also add explanation to the second option
that even if the call is recursive and suppose it may cause a stackoverflow error,
even then there will be no deadlock since synchronized method releases locks just as it is explained in one of the questions in this test.
About Question enthuware.ocpjp.v7.2.1547 :
Moderators: Site Manager, fjwalraven
-
- Posts: 97
- Joined: Wed Dec 28, 2016 9:00 am
- Contact:
-
- Site Admin
- Posts: 10045
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1547 :
Added.
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.
Who is online
Users browsing this forum: No registered users and 31 guests