aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes awt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "awt" Watch "awt" New topic
Author

awt

nishesh chouhan
Ranch Hand

Joined: Nov 06, 2000
Posts: 37
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
sona gold
Ranch Hand

Joined: Feb 14, 2001
Posts: 234

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

sona<br />SCJP
nishesh chouhan
Ranch Hand

Joined: Nov 06, 2000
Posts: 37
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
???
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: awt