Hi, yanish:
If you read Bill's question carefully, you will find it says "either as a menu bar or pop-up menu, attached to it". The word
"or" make answers a, b, c, d all correct. From API, there is a add(PopupMenu popup) function in Component class. Since Frame, Window, Applet, Panel are grandchildern of Components, all the answers will be right.
Kevin Fu