Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AWT question

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