1) Simple GUI Multiple choice questions starting from 2 (All this is in java): 2
ID: 3850802 • Letter: 1
Question
1) Simple GUI Multiple choice questions starting from 2 (All this is in java):
2) Simple ArrayList MCQ questions:
3) Simple Inheritance/Interface MCQ questions:
Write the code for this:
e) of the above is an object that 2) an) defines a screen element used to display information or allow the user to interact with a ertain way. program in a C a GUI ekeget listener e AWT 3) an) is an object that waits for an event to occur and responds in some way when it does. a GUI listener e panel. 4) A container is governed by alm) which determines exactly how the components added to the panel will be displayed. event b) soutent pane JFrame object d) JPanel object layout. manager 5) Which of the following components allows the user to enter typed input from the keyboard? a) cheek boxes b) radio buttons sliders. gombe boxes e aeree of the above 6) Which of the following components allows the user to select one of several options from a drop down menu a) check boxes b) adio buttons slider, gombe boxes e) pone of the above 7) Which of the following layout managers organize the components from left to right, starting new rows as necessary? a Border Layout b) Box Layout c) Card Layout d) Flow Layout e Grid Layout graphical window that pops up on top of any currently active window so that the user can interact with it. component b) dialog box. d) listener. e) gegee of the above 9) Which of the following components can be toggled on or off using the mouse, indicating that a particular boelean condition is set or unset allowing combinations of selections a) check box b) adio button slider, dialog box e)none of the aboveExplanation / Answer
JAVA QUESTIONS:
2. GUI (Graphical User Interface)
3. Listener
4. Lay Out Manager
5. None of the above ( Dialog box takes the typed input)
6. Combo boxes
7. Flow Layout
8. Dialog box
9. Check box
10. Radio button
11. frame.setVisible(true);
12. A JButton obect
13. Event Listener
14. Interface
15. Integer parseInt(textField.getText())
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.