• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

awt

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have doubts in following questions
1)which of the followuing can be added to the menu
checkbox
menu
menubar
button

does it had something to do with the inheritance hirarchy??? so that we can know by that
2) which of the following will definitely stop the thread from execuiting
suspend
wait
sleep
yield
 
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

1)which of the followuing can be added to the menu
checkbox
menu
menubar
button
only menu is the right answer, checkbox is wrong, checkboxmenuitem if given would be the right answer.

does it had something to do with the inheritance hirarchy??? so that we can know by that
2) which of the following will definitely stop the thread from execuiting
suspend
wait
sleep
yield
[/B]
wait
suspend
sleep
 
nishesh chouhan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
but what does stop here means wait and sleep does not stop the thread they only stop their execution temporarily
so inwhat context the question is asked
and if that is the case then yield also stops temporarily
???
 
reply
    Bookmark Topic Watch Topic
  • New Topic