Help shape GoConqr. What should we add next?

Quiz

Java Test 2

Batts 49 questions 1,961 views

Take the quiz

Questions in this quiz (49)

  1. 1Which components contains menus?
    1. AMenu button
    2. BTitle bar
    3. CMenu bar
    4. DCombo box
  2. 2Which of the following statements for a JTextField is FALSE?
    1. ACan be used to display un-editable text.
    2. BCan be used to display editable text.
    3. CEnables users to enter data from the keyboard.
    4. DDisplays a list of fields.
  3. 3Which of the following statements about heavyweight components is FALSE?
    1. AAWT components are not heavyweight components
    2. BSeveral Swing components are heavyweight components
    3. CThe look-and-feel may vary across platforms
    4. DThe functionality may vary across platforms
  4. 4Which pair of words does NOT complete the sentence below correctly?
    A ______ is a _______.
    1. AContainer, Component
    2. BContainer, JPanel
    3. CJComponent, Container
    4. DComponent, Object
  5. 5__________ provides the basic attributes and behaviors of a window — a title bar at the top of the window, and buttons to minimize, maximize and close the window.
    1. AJLabel
    2. BJFrame
    3. CJSwing
    4. DJWindowControl
  6. 6Method ________ can be used to set the layout manager of a container.
    1. AsetManager
    2. BsetLayout
    3. CsetLayoutManager
    4. DsetGUILayout
  7. 7A JLabel can be attached to a JFrame using method:
    1. Aattach
    2. Bcontain
    3. Cappend
    4. Dadd
  8. 8A JRadioButton is different from a JCheckBox in that _______.
    1. Aa JRadioButton is a subclass of JToggleButton, JCheckBox is not.
    2. Bnormally several JRadioButtons are grouped together and are mutually exclusive.
    3. Ca JRadioButton is a type of button, JCheckBox is not
    4. Da JRadioButton is a state button, JCheckBox is not.
  9. 9The logical relationship between radio buttons is maintained by objects of what class?
    1. AMutualExclusionGroup
    2. BRadioButtonGroup
    3. CGroup
    4. DButtonGroup
  10. 10Adding a ButtonGroup object to a container:
    1. Ais necessary for the functionality of the ButtonGroup to work properly.
    2. Bcauses all the JRadioButtons in the group to have their event handlers registered.
    3. Cresults in a compilation error.
    4. DNone of the above.

Information

Description
Fall 2014
Author
Batts
Language
English
Views
1,961
Tags
2014fall
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What should we add next?