Scott Selikoff

+ Follow
since Oct 23, 2005
Scott likes ...
Eclipse IDE Flex Google Web Toolkit
Forum Moderator
Scott Selikoff currently moderates these forums:
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Scott Selikoff

Paul Anilprem wrote:

Scott Selikoff wrote:

Dates is the only grey area.

Did you get any question on it?

It's a grey area.  Yes and no.

Mikalai Zaikin wrote:Hi Scott !
I wonder what sort of questions were about Modules topic.
Are they only technical ones, with code snippets?
Because there is one objective "Describe the Modular JDK" - seems it's more theoretical.

All of the above.  I went into some detail in my blog post.
Oh, they are far from gone.  Assume you need to know everything in core java features to pass.

Dates is the only grey area.
Where did you order it that you saw this cover online?
I would wait if you're thinking of taking the exam (unless you're also writing a study guide).  As I detailed here, I took the first exam already and even it is quite different from the previous OCA 8, despite having similar objectives.  They made the objectives much more vague and all encompassing than the previous set.  You need to know a lot of topics from the OCA 8 and OCP 8 exams just to pass the first OCP 11 exam.

In short, both exams are now difficult.  There's no 'easy' exam anymore, so better off waiting for now!
I ran to take the Programmer I (1Z0-815) exam the day after it was announced.  Anyone here thinking of taking it should really read my blog post

In short.. it resembles the previous OCA 8 but is definitely not the same exam.  It's more on the level of difficulty of the OCP 8 exam.

If you're thinking of taking the exam, feel free to ask me questions and as long as they aren't about very specific aspects of the exam, I will do my best to answer.
Ah, yes, the answer is correct, but the alternate text is wrong.  I believe in the original version, the lambda was actually:

Somewhere along the way, the {} was dropped, making the alternate answer incorrect.  Thanks for finding this, we will update the text!
First off, thanks for your feedback.  I’ve reviewed it and don’t spot any errata here.  Did you try executing the code?  The ExecutorService has only one thread, so everything happens in serial.  Also, did you read the statement at the start of the question?

“Assuming 100 milliseconds is enough time for the tasks submitted to the thread executor to complete, what is the result of executing the following program?”

There is more than enough time for the threads submitted to the executor to finish and output 100 100.
Congratulations!  Glad we could help!
Good job!  Glad you made it!  Not an easy exam!
Congratulations!  Glad we could help!
Congratulations!  If you're studying for the OCP exam, we also have a practice test book which may help you score higher.  Good luck!
Wow, amazing score!  Congratulations!
Just to add to Roel, final "primitive values" are constant, like int/double/boolean.  On the other hand, final applied to an Object only refers to the reference variable.  The reference is constant, but the contents of the object are certainly not.
Sorry, I think this is a semantics issue.  By "waits", we were referring to the fact that ExecutorService itself will wait for the tasks to be finished.  In other words, if a task is currently running and shutdown() is called, the ExecutorService will wait for that task to finish before completing shutdown.  In no way did we mean the method call itself actually waits.  For that, you would need awaitTermination().  Sorry this wasn't clearer!