• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

AWT question

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which of the following may container can have?
a. container
b. component
c. applet
d. frame
e. menuItem
 
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi VR,
a,b,c,d are correct. because a container can have only components and all a,b,c,d are components but menuItem is a menuComponent which can't be added to a container

regards
deekasha
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the answers a, b, c and e are correct.
d is incrrect because a frame is a top-level window and a top-level window cannot be incorporated into other components.
e is correct because a menu-bar can be attached to a Frame object which is a container, a menu-bar can contain pull-down menus and MenuItem objects can be added to menus.

Originally posted by VR:
Which of the following may container can have?
a. container
b. component
c. applet
d. frame
e. menuItem


 
reply
    Bookmark Topic Watch Topic
  • New Topic