File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AWT question

 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 142
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Thanks, Sanjana
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic