wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes AWT question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "AWT question" Watch "AWT question" New topic
Author

AWT question

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Which of the following may container can have?
a. container
b. component
c. applet
d. frame
e. menuItem
Can please someone answer this?
Thanks in advance.
VR
sanjana narayanan
Ranch Hand

Joined: Nov 25, 2003
Posts: 142
The answers are a,b,c,d. Inheritance relationship between menuItem & Object is like this:
Object---->MenuComponent----->MenuItem
Whereas for a,b,c,d :
Object------> Component------>Container--->a,b,c,d

Sanjana
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Thanks, Sanjana
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AWT question
 
Similar Threads
WA #1.....word association
load-on-startup tag
Pls Help :Container Problem
container
HFSJ - directory name "htdocs" instead of "webapps"