Deck 1: Java GUI and Beans

ملء الشاشة (f)
exit full mode
سؤال
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
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
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
سؤال
Which class provides many methods for graphics programming?

A)java.awt
B)java.Graphics
C)java.awt.Graphics
D)None of the above
سؤال
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
سؤال
The ActionListener interface is not used for handling action events?

A)True
B)False
C)none
D)all
سؤال
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
سؤال
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
سؤال
MVC Architecture stands for

A) Model View Controller
B) Mode View Control
C) Maximum View Control
D) None
سؤال
Which is the container that doesn't contain title bar and MenuBars but it can have other components like button, textfieldetc?

A)Window
B)Frame
C)Panel
D)all the above
سؤال
Which is the passive control that do not support any interaction with the user?

A)JList
B)JLabel
C)JTable
D)JTree
سؤال
Component used for displaying data in tabular

A)JList
B)JTextArea
C)JTable
D)JTree
سؤال
Java Bean is a _____________ technology

A)Component
B)scripting
C)middle tier
D)None
سؤال
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
سؤال
Which of the following is not true about Java beans?

A)Implements java.io.Serializable interface
B)Extends java.io.Serializable class
C)Provides no argument constructor
D)Provides setter and getter methods for its properties
سؤال
Which file separator should be used by MANIFEST file?

A)/
B)\
C)-
D)//
سؤال
Which of the following is correct error when loading JAR file with duplicate name?

A)java.io.NullPointerException
B)java.lang.ClassNotFound
C)java.lang.ClassFormatError
D)java.lang.DuplicateClassError
سؤال
Java Beans are extremely secured?

A)True
B)False
C)none
D)all
سؤال
Which of the following is not a feature of Beans?

A)Introspection
B)Events
C)Persistence
D)Serialization
سؤال
Which services are provided to EJB components by the EJB container?

A)Transaction support
B)Persistence support
C)Naming support
D)All mentioned above
سؤال
Which case of a session bean obtains the UserTransaction object via the EJBContext using the getUserTransaction() method in EJB transaction management?

A)Bean-managed transactions
B)Container-managed transactions
C)Both A & B
D)None of the above
سؤال
EJB QL is a Query Language provided for navigation across a network of enterprise beans and dependent objects defined by means of container managed persistence.

A)True
B)False
C)none
D)all
سؤال
A message driven bean is like a stateful session bean that encapsulates the business logic and doesn't maintain state.

A)True
B)False
C)none
D)all
سؤال
Abbreviate the term JMS?

A)Java Message Service
B)Java Monitor Service
C)Java Message Session
D)Java Monitor Session
سؤال
JMS is mainly used to send and receive message from one application to another.

A)True
B)False
C)none
D)all
سؤال
Which session bean maintain their state between client invocations but are not required to maintain their state across server crashes or shutdowns?

A)Stateful Session Bean
B)Stateless Session Bean
C)Singleton Session Bean
D)None of the above
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 1: Java GUI and Beans
1
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
Swing
2
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
True
3
Which class provides many methods for graphics programming?

A)java.awt
B)java.Graphics
C)java.awt.Graphics
D)None of the above
java.awt.Graphics
4
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
The ActionListener interface is not used for handling action events?

A)True
B)False
C)none
D)all
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
MVC Architecture stands for

A) Model View Controller
B) Mode View Control
C) Maximum View Control
D) None
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
Which is the container that doesn't contain title bar and MenuBars but it can have other components like button, textfieldetc?

A)Window
B)Frame
C)Panel
D)all the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
Which is the passive control that do not support any interaction with the user?

A)JList
B)JLabel
C)JTable
D)JTree
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
Component used for displaying data in tabular

A)JList
B)JTextArea
C)JTable
D)JTree
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
Java Bean is a _____________ technology

A)Component
B)scripting
C)middle tier
D)None
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following is not true about Java beans?

A)Implements java.io.Serializable interface
B)Extends java.io.Serializable class
C)Provides no argument constructor
D)Provides setter and getter methods for its properties
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which file separator should be used by MANIFEST file?

A)/
B)\
C)-
D)//
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which of the following is correct error when loading JAR file with duplicate name?

A)java.io.NullPointerException
B)java.lang.ClassNotFound
C)java.lang.ClassFormatError
D)java.lang.DuplicateClassError
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
Java Beans are extremely secured?

A)True
B)False
C)none
D)all
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which of the following is not a feature of Beans?

A)Introspection
B)Events
C)Persistence
D)Serialization
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
Which services are provided to EJB components by the EJB container?

A)Transaction support
B)Persistence support
C)Naming support
D)All mentioned above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which case of a session bean obtains the UserTransaction object via the EJBContext using the getUserTransaction() method in EJB transaction management?

A)Bean-managed transactions
B)Container-managed transactions
C)Both A & B
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
EJB QL is a Query Language provided for navigation across a network of enterprise beans and dependent objects defined by means of container managed persistence.

A)True
B)False
C)none
D)all
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
A message driven bean is like a stateful session bean that encapsulates the business logic and doesn't maintain state.

A)True
B)False
C)none
D)all
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
Abbreviate the term JMS?

A)Java Message Service
B)Java Monitor Service
C)Java Message Session
D)Java Monitor Session
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
JMS is mainly used to send and receive message from one application to another.

A)True
B)False
C)none
D)all
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
Which session bean maintain their state between client invocations but are not required to maintain their state across server crashes or shutdowns?

A)Stateful Session Bean
B)Stateless Session Bean
C)Singleton Session Bean
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.