Top 80+ Solved J2EE Technologies MCQ Questions Answer
Q. It is lightweight.It supports pluggable look and feel.It follows MVC (Model View Controller) architecture. The following specifies the advantages of
a. Swing
b. AWT
c. Both A & B
d. None of the above
Q. Swing is not a part of JFC (Java Foundation Classes) that is used to create GUI application?
a. True
b. False
c. none
d. all
Q. Which class provides many methods for graphics programming?
a. javawt
b. java.Graphics
c. java.awt.Graphics
d. None of the above
Q. Implement the Listener interface and overrides its methods. Register the component with the Listener The Following steps are required to perform
a. Exception Handling
b. String Handling
c. Event Handling
d. None of the above
Q. The ActionListener interface is not used for handling action events?
a. True
b. False
c. none
d. all
Q. The ActionListener interface is used for handling action events,Forexample,it's used by a
a. JButton
b. JCheckbox
c. JMenuItem
d. All of these
Q. JFramemyFrame = new JFrame (); Any command (such as the one listed above) which creates a new object of a specific class (in this case a new JFrame object called myFrame) is generally called a ...
a. Constructor
b. Layout manager
c. Parameter
d. GUI
Q. MVC Architecture stands for
a. . Model View Controller
b. . Mode View Control
c. . Maximum View Control
d. . None
Q. Which is the container that doesn't contain title bar and MenuBars but it can have othercomponents like button, textfieldetc?
a. Window
b. Frame
c. Panel
d. all the above
Q. Which is the passive control that do not support any interaction with the user?
a. JList
b. JLabel
c. JTable
d. JTree
Q. Manifest file is a special file that contains information about the files packed in
a. JAR file
b. GIF
c. JPEG
d. all the above
Q. Which of the following is not true about Java beans?
a. Implements javio.Serializable interface
b. Extends java.io.Serializable class
c. Provides no argument constructor
d. Provides setter and getter methods for its properties