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

MenuBar

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Friends...

Can someone tell me why there r differrent answers to the below
Question ?

According to Simon Roberts Cert book Pg 341)

Which of the foll may contain a menubar ?(Choose all that apply)
1) A panel
2) A frame
3) An Applet
4) A menubar
5) A menu

The answer given was : Only 2

The above same question was asked in Bill Brodgen's Exam Cram
(See Pg 229 Q-2)

Which of the below AWT Components can have a menu, either as a menu-bar or pop-up menu, attached to it (Check all correct ?)

1) java.awt.Frame
2) java.awt.Window
3) java.awt.Applet
4) java.awt.Panel

The answer given was :- All.

Can someone explain me the real correct answer ?

Thanks.
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look at the question more carefully, pop-up menu is included in the question on the Bill brogden Cram
 
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Shah,
A pop-up menu can be added to any container class. While a menuBar is limited to Frame class only.
Regards,
Manfred.
 
reply
    Bookmark Topic Watch Topic
  • New Topic