• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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