This week's book giveaways are in the Cloud and AI/ML forums. We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line! See this thread and this one for details.
... you may not post your entire code for locking and unlocking records - this is a major section (currently worth 20% of the assignment) and sections of such code will be removed from any post. Posting just one method (e.g. the lock() method is usually considered reasonable).
There are multiple reasons for this policy: * Sun do not allow you to share your assignment or a solution to the assignment with others. * You have spent time and effort getting your solution right. It would not be right for someone else to just copy your solution without working it out for themselves. * If someone did get awarded the SCJD certification after copying your code, and were then given employment because they had that certification, the employer would probably find that the employee cannot actually do the work. Which makes the perceived value of this certificate decrease. * If people post too much code, then Sun may, in the future, request that we do not allow any SCJD code to be posted.
SCJP, OCMJD, OCMJEA
posted 13 years ago
Removed code as requested ... I�ll try to describe just the algorithm on the future. Thanks, Tony