Page 1 :
Qi, , Qa3, , aé, , , , Swings, , , , , , Unit, , Multiple Choice Questions for Online Exam, , The following Specifies the advantages of, It is lightweight., , it supports pluggable look and feel., , It follows MVC (Model View Controller), architecture., (a) Swing, , (c) BothA&B, , (b) AWT, , (d) None of the above, Swing is not a part of JFC (Java Foundation Classes), that is used to create GUI application?, , (a) True (b) False, , The Swing Component classes that are used in, Encapsulates a mutually exclusive set of buttons?, (a) AbstractButton (b) ButtonGroup, , (c) JButton (d) Imagetcon, , The Java Foundation Classes (JF(c) is a set of GUI, , components which simplify the development of, desktop applications?, , (a) True (b) False, , Which package is used for import the swing, components?, (a) java.swing, (c) javax.swing, , (b) java.awt, (d) All of the above, , The String parameter to JButton constructor, , (a) tell which region to put the JButton in,, , (b) tells the color of the JButton., , ({c) tells what text will appear on JButton., , (d) tells what should happen when JButton is, pressed., , MVC architecture is, , (a) Modelling - Visual — Controller, (b) Model — View - Controller, , (c) Model — Viewable — Controller, (d) Many - View - Controller, , , , Q.8, , a9, , Q.10, , Q.11, , Q.14, , Q15, , Which package is used for imporing swing, components?, (a) java.swing, (c) java.awt., , (b) javax.swing, (d) All of the above, , In swing, Buttons are subclasses of which class?, (a) AbstractButton (b) JButton, (c) Button (d) JRadioButton, , JTree class belongs to which package?, , (a) java.awt (b) java.applet, , (c) java.swing (d) javax.swing, , Which component is swing represents data in row, and columns?, (a) JTextArea, (c) JPanel, , (b) JTable, (d) JtabbedPane, , Which of the following is not constructor of JTree?, (a) JTree(TreeNode tn), , (b) JTree(Vector v), , (c) JTree(int x), , (d) none of the above, , Class used to create node in tree., , , , (a) TreeNode, , (b) DefaultMutableNode, , (c) DefaultMutableTreeNode, (d) Node, , JTabbedPane class is present in which Package?, (a) java.awt (b) java.swing, (c) java.awt.swing (d) javax.swing, , What is purpose of JTree?, , (a) To show data in form of parent and child, nodes,, , (b) To show data in list view., , (c) To show data in tabular form., , (d) To show data in menu-bar.