1) Give the abbreviation of AWT?
A) Applet Windowing Toolkit
B) Abstract Windowing Toolkit
C) Absolute Windowing Toolkit
D) None of the above
2) Which is the container that contain title bar and can have MenuBars. It can have other components like button, textfield etc.?
A) Panel
B) Frame
C) Window
D) Container
3) Which is a component in AWT that can contain another components like buttons, textfields, labels etc.?
A) Window
B) Container
C) Panel
D) Frame
4) AWT is used for GUI programming in java?
A) True
B) False
5) The following specifies the advantages of
It is lightweight.
It supports pluggable look and feel.
It follows MVC (Model View Controller) architecture.
A) Swing
B) AWT
C) Both A & B
D) None of the above
6) Swing is not a part of JFC (Java Foundation Classes) that is used to create GUI application?
A) True
B) False
7) Which class provides many methods for graphics programming?
A) java.awt
B) java.Graphics
C) java.awt.Graphics
D) None of the above
8) These two ways are used to create a Frame
By creating the object of Frame class (association)
By extending Frame class (inheritance)
A) True
B) False
9) The Following steps are required to perform
1) Implement the Listener interface and overrides its methods
2) Register the component with the Listener
A) Exception Handling
B) String Handling
C) Event Handling
D) None of the above
10) In which places can put the event handling code
A) Same class
B) Other class
C) Annonymous class
D) All mentioned above
11) Which package provides many event classes and Listener interfaces for event handling?
A) java.awt
B) java.awt.Graphics
C) java.awt.event
D) None of the above
12) To use the ActionListener interface it must be implemented by a class there are several ways to do that find in the following?
A) Creating a new class
B) using the class the graphical component
C) an anonymous inner class
D) All mentioned above
13) The ActionListener interface is not used for handling action events?
A) True
B) False
14) The ActionListener interface is used for handling action events,For example,it's used by a
A) JButton
B) JCheckbox
c) JMenuItem
d) All of these
A) Applet Windowing Toolkit
B) Abstract Windowing Toolkit
C) Absolute Windowing Toolkit
D) None of the above
2) Which is the container that contain title bar and can have MenuBars. It can have other components like button, textfield etc.?
A) Panel
B) Frame
C) Window
D) Container
3) Which is a component in AWT that can contain another components like buttons, textfields, labels etc.?
A) Window
B) Container
C) Panel
D) Frame
4) AWT is used for GUI programming in java?
A) True
B) False
5) The following specifies the advantages of
It is lightweight.
It supports pluggable look and feel.
It follows MVC (Model View Controller) architecture.
A) Swing
B) AWT
C) Both A & B
D) None of the above
6) Swing is not a part of JFC (Java Foundation Classes) that is used to create GUI application?
A) True
B) False
7) Which class provides many methods for graphics programming?
A) java.awt
B) java.Graphics
C) java.awt.Graphics
D) None of the above
8) These two ways are used to create a Frame
By creating the object of Frame class (association)
By extending Frame class (inheritance)
A) True
B) False
9) The Following steps are required to perform
1) Implement the Listener interface and overrides its methods
2) Register the component with the Listener
A) Exception Handling
B) String Handling
C) Event Handling
D) None of the above
10) In which places can put the event handling code
A) Same class
B) Other class
C) Annonymous class
D) All mentioned above
11) Which package provides many event classes and Listener interfaces for event handling?
A) java.awt
B) java.awt.Graphics
C) java.awt.event
D) None of the above
12) To use the ActionListener interface it must be implemented by a class there are several ways to do that find in the following?
A) Creating a new class
B) using the class the graphical component
C) an anonymous inner class
D) All mentioned above
13) The ActionListener interface is not used for handling action events?
A) True
B) False
14) The ActionListener interface is used for handling action events,For example,it's used by a
A) JButton
B) JCheckbox
c) JMenuItem
d) All of these
Can you give me program MCQ's
ReplyDeleteThis comment has been removed by a blog administrator.
DeleteGood for practice
ReplyDeleteThank you for sharing this amazing post. Looking forward to reading more.
ReplyDeleteVisit us: Java Training
Visit us: Java Course
Thank You for sharing the valuable information, it is very helpful. cctv camera dealers in Hyderabad Technology is changing and so is our lives because it is somewhat dependent on it. Everywhere we go, we see CCTV cameras. These cameras record each and every movement and believe it or not, they are pretty helpful. We are the cc camera suppliers in hyderabad In this busy world with a fast-growing crime rate, CCTV cameras have become a necessity for everyone. In this article, we will help you find the ten best cameras so that you can choose one from them. Moreover, if you are confused about the cctv camera shops in hyderabad and installation process, we have also shed some light on that.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteHey i'm for the first time here. I came across this board and I find It really useful & it helped me out a lot. I hope to give something back and aid others like you helped me. Feel free to visit my webpage. improving your reaction time
ReplyDelete