Deck 19: Java Never Ends
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/18
Play
Full screen (f)
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
(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
(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
(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
(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
(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
(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()
(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
(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
(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