-
Which Font attributes are available through the FontMetrics class? (Select Multiple)
A) ascentB) leadingC) caseD) height
-
All Applets are subclasses of Applet.
A) TrueB) False
-
Which of the following components allow multiple selections? (Select Multiple)
A) Non-exclusive Checkboxes.B) Radio buttons.C) Choice.D) List.
-
Which of the following (is)are true?
A) A Dialog can have a MenuBar.B) MenuItem extends Menu.C) A MenuItem can be added to a Menu.D) A Menu can be added to a Menu.
-
Which of the following statement(s) are true?
A) The default layout manager for an Applet is FlowLayoutB) The default layout manager for an application is FlowLayoutC) A layout manager must be assigned to an Applet before the setSize method is calledD) The FlowLayout manager attempts to honor the preferred size of any components
-
The command ‘codebase’ is used in applets when
A) When the applet class file is not in the same directoryB) When the applet class file is in the same directoryC) When we need to get the parameters of the appletD) None of the above