Deck 19: Java Never Ends

Full screen (f)
exit full mode
Question
Discuss the components of the JavaBean model.
Use Space or
up arrow
down arrow
to flip the card.
Question
The sleep method of the Thread class requires one formal parameter that represents the number of:
(a)nanoseconds
(b)microseconds
(c)picoseconds
(d)milliseconds
Question
____________ is an enhancement of simple accessor and mutator methods.
(a)Event handling
(b)Introspection
(c)Persistence
(d)None of the above
Question
What other programming technique can be combined with sockets so a server can handle requests from multiple clients?
Question
The Java library that supports database connectivity is called:
(a)ODBC
(b)CDBC
(c)MDBC
(d)JDBC
Question
____________ refers to a framework that facilitates software building by connecting software components from diverse sources.
(a)JavaBeans
(b)Threads
(c)SQL
(d)all of the above
Question
A thread's start method invokes the thread's run method.
Question
____________ means that an object has an identity that extends beyond one session.
(a)Event handling
(b)Introspection
(c)Persistence
(d)None of the above
Question
An InterruptedException is a checked exception.
Question
The programming statements used to accomplish a threads task should be included in the method:
(a)start()
(b)init()
(c)run()
(d)none of the above
Question
The Java language does not support multithreading.
Question
What are Enterprise JavaBeans?
Question
An alternative to deriving a thread from the Thread class is to inherit the Runnable interface.
Question
What method in the Thread class is responsible for pausing a thread for a specific amount of milliseconds?
(a)pause()
(b)sleep()
(c)hang()
(d)kill()
Question
SQL stands for Structured Query Language.
Question
Java's Thread class is in the ____________ package.
(a)java.util
(b)java.thread
(c)java.lang
(d)javax.swing
Question
Threads execute in a ___________ fashion.
(a)parallel
(b)serial
(c)complex
(d)none of the above
Question
What is a JavaBean?
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/18
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 19: Java Never Ends
1
Discuss the components of the JavaBean model.
The software components (classes)are required to provide at least the following interface service or abilities: a.Rules to ensure consistency in writing interfaces. b.An event handling model c.Persistence d.Introspection e.Builder support
2
The sleep method of the Thread class requires one formal parameter that represents the number of:
(a)nanoseconds
(b)microseconds
(c)picoseconds
(d)milliseconds
D
3
____________ is an enhancement of simple accessor and mutator methods.
(a)Event handling
(b)Introspection
(c)Persistence
(d)None of the above
B
4
What other programming technique can be combined with sockets so a server can handle requests from multiple clients?
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
5
The Java library that supports database connectivity is called:
(a)ODBC
(b)CDBC
(c)MDBC
(d)JDBC
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
6
____________ refers to a framework that facilitates software building by connecting software components from diverse sources.
(a)JavaBeans
(b)Threads
(c)SQL
(d)all of the above
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
7
A thread's start method invokes the thread's run method.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
8
____________ means that an object has an identity that extends beyond one session.
(a)Event handling
(b)Introspection
(c)Persistence
(d)None of the above
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
9
An InterruptedException is a checked exception.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
10
The programming statements used to accomplish a threads task should be included in the method:
(a)start()
(b)init()
(c)run()
(d)none of the above
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
11
The Java language does not support multithreading.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
12
What are Enterprise JavaBeans?
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
13
An alternative to deriving a thread from the Thread class is to inherit the Runnable interface.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
14
What method in the Thread class is responsible for pausing a thread for a specific amount of milliseconds?
(a)pause()
(b)sleep()
(c)hang()
(d)kill()
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
15
SQL stands for Structured Query Language.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
16
Java's Thread class is in the ____________ package.
(a)java.util
(b)java.thread
(c)java.lang
(d)javax.swing
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
17
Threads execute in a ___________ fashion.
(a)parallel
(b)serial
(c)complex
(d)none of the above
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
18
What is a JavaBean?
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 18 flashcards in this deck.