Sheet 4 Stud

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Sr.

Question Answer 1 Answer 2 Answer 3 Answer 4


1 JLabels are Control. Active User Passive Interactive
2 JChoice control of swings is a kind of Menu Item Radio List
3 AbstractButton is the template class for Push Buttons Radio Buttons Check boxes All of the above.
4 JComboBox control initially displays entry One Two Empty NULL
5 Java Swings is used to create mobile enabled web based window based package based
applications.
6 Which is correct statement from given option for using a table in an Create Add the table to the scroll pane. Create aJTableobject All of the above
applet: aJScrollPaneobject
7 JProgressBar() of swings creates Vertical Progress Bar Horizontal Progress Bar with Horizontal and Vertical Horizontal Progress Bar
Only Progress String. Progress Bar without progress without progress string.
string.
8 A array of strings is created for specifying two-dimensional one-dimensional multi dimensional none of these
the column headings in JTable.
9 From Following list which is not a swing class? ImageIcon JIcon JButton Jpanel
10 The class JList is a component which displays and List of lists list of objects MVC Model Item List
allows the user to select one or more items.
11 Term in MVC architecture that receives events is called Receiver Controller Transmitter Modulator
as
12 The Jtable of swings is used to display data in form JTable object JTable object displays rows JTable object displays none of the above
of displays rows and ONLY. columns ONLY
columns of data.
13 is not a Swing Component CheckboxGroup JCheckBox JComboBox all the above
14 is a Swing class that allows the user to enter a JLabel JTextField JTextArea JComboBox
multipleline of text
15 Swing is the set of that provides more powerful & flexible constructors methods classes destructors
components as compare to AWT.
16 What is the name of the Swing class that is used for frames? SwingFrame Window Frame JFrame
17 To implement swings which package is to be imported from the javax.JSwing java.swing java.javax javax.swing
following options :
18 JRadioButton is a subclass of class. AbstractButton ButtonGroup JButton ImageIcon
19 TreeNode and MutableTreeNode is Both are classes class and interface Both are interfaces interface and class
20 What does x mean in javax.swing x mean in javax.swing is x mean in javax.swing is Extreme x mean in javax.swing is Ex. x mean in javax.swing is
Extension of java of java of java Extra of java

You might also like