Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Which will not stop execution of thread?

 
vikas karandikar
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cleared with 79%
Firstly ,Javaranch site is very useful for certification exams.
Some question regarding thread are very tricky
like
which of following will NOT stop execution of thread?
choose 2
1.notify
2notifyall
3.starting new thread
4yeild
i choosed 3 and what to choose from 1 and 2
if u choose 1 then why not 2 is correct can anybody explain me.
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nicely done!
Might be a good idea to put your question in the Programmer's Cert Forum rather than Sun Certification Results.
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations Vikas.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!