0% found this document useful (0 votes)
8 views2 pages

Advance Pro - Model

The document consists of a multiple-choice questionnaire focused on Java programming concepts, particularly event handling, GUI design, threading, and file management. It includes questions about specific Java packages, event models, layout managers, and APIs related to database connectivity and distributed applications. The questions test knowledge on various Java components and their functionalities.

Uploaded by

kaleamlak2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

Advance Pro - Model

The document consists of a multiple-choice questionnaire focused on Java programming concepts, particularly event handling, GUI design, threading, and file management. It includes questions about specific Java packages, event models, layout managers, and APIs related to database connectivity and distributed applications. The questions test knowledge on various Java components and their functionalities.

Uploaded by

kaleamlak2010
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Multiple Choice

1. Which package holds a class and interface that related to Event handling?
A. Java.awt B. java.swing C. javax.swing D. java.awt.event
2. one of the following libraries is not used to design GUI.
A. Java.io B.javax.swing C.java.awt D.javaFX
3. Which model is need to be followed to handle events?
A. Delegation Event model C. model view controller
B. 3-layer architecture model D. all

4. ____is the direction or path that is taken while a program is being executed
A. java process B. java thread C. Java IO D.swing
5. which one of the flowing is true about thread in java?
A. java programs have at least on thread
B. It can be created by extending the Thread class and overriding its run() method
C. thread is can be create by implement the Runnable interface
D.all
6. Which package in java that has class and interface to handle Files?
A.Java.io B. java.swing C. javax.swing D. java.awt.event
7. Java API to connect and execute the query with the database.
A. sql B. mysql C. JDBC D. oracle
8. which one of the following is not true about AWT?
A. AWT components are platform-dependent.
B. AWT components are heavyweight.
C. AWT supports pluggable look and feel.
D. AWT does follows MVC model
E. All
F. A and B
9. ________ is a built-in method in JFrame class that used to give size to frame.
A. setSize(boolean) B. setVisible(boolean) C.setSize(int , int ) D. setText();
10.which one of the following is default layout manager for Frame and Panel respectively?
A. FlowLayout and BorderLayout B. FlowLayout and GridLayout
C. FlowLayout and FlowLayout D. BorderLayout and BorderLayout
11. which layout manager is arranging components in matrix formation?
A. flowlayout B. GridLayout C. BorderLayout D. BoxLayuout
12. which Listener is used to handle when you clicked a button?
A. ActionListener B. MouseListner C. ButtonListener D.all
13.which event could be trigged when you clicked keyboard?
A.keyReleasedEvent B.keyPresedEvent C. keyboardEvent D. all E. A and B
14. _______________is extension servlet that used to develop applet.
A.JSP B.appache C.javaFX D. JDBC
15. _________ special type of program that is embedded in the webpage to generate the
dynamic content. It runs inside the browser and works at client side.
A. Applet B. Application C. JDBC D. none
16. ________is an API that provides a mechanism to create distributed application in java.
A. RMI B.Swing C.AWT D.JDBC

You might also like