• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SCJP passed with 86%

 
Michael Hilgert
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now you can call me a SCJP.

I had to answer only 60 questions in 3 hours and I did it in 2:20.
But I made to mistakes in easy questions.
I didn't see a second else.
I'm not familiar with this compact writing.
And packaging is not my favourite.

In ExamLab my best score was 51%, so you can relax, you will pass the exam easily.
Concurrency and OO Concepts are my best scoring with 100%.

Now I have two weeks to study for the SCWCD.
 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats and best of luck for SCWCD
 
Rafal Wasielewski
Ranch Hand
Posts: 372
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats
 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3817
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!!!
 
Akil Kumar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats Michael. How did you manage to score 100% in concurrency? Please share your programming experience.

Thanks
 
Michael Hilgert
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What should I say?
Following a thread is not so hard.
You have to know only few rules.

The important rule is, that wait() and notify() need the same monitor lock. Pay attention, when they crate new objects for the monitor. This are different locks, so different threads are not blocked. Or one lock is static and the other is an object. This is not the same monitor.

The next rule is:
wait(), sleep() and join() can throw an InterruptedException, so they have to be in a try/catch block or the Exception has to be thrown.
Otherwise you get an compiler error.

But is the question what exception wait can throw, they mean the runtime Exception, because the compiler don't throw an exception.
The answer is IllegalMonitorStateException!

Remember: sleep() and yield() are static methods.

 
Vinod Tiwari
Ranch Hand
Posts: 466
1
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats!
 
Vinod Tiwari
Ranch Hand
Posts: 466
1
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congrats
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic