PRJ 311 Full Test Bank | Complete Solutions (Verified)
3 vistas 0 veces vendidas
Grado
PRJ 311
Institución
PRJ 311
PRJ 311 Full Test Bank | Complete Solutions (Verified) To get an object NumberFormat class that initialized to the specified locale, we use a. getNumberFormat() b. getCurrencyInstance() c. getNumberInstance() d. getInstance() Which type of driver can interpret JDBC calls to the database-specific ...
To get an object NumberFormat class that initialized to the specified locale, we use
a. getNumberFormat()
b. getCurrencyInstance()
c. getNumberInstance()
d. getInstance()
Which type of driver can interpret JDBC calls to the database-specific native call
interface
a. Type-1
b. Type-2
c. Type-4
d. Type-3
Which are advantages of JDBC? (select two)
a. enable connecting to any database system
b. vendor independent
c. platform independent
d. database access faster than other languages
Formatting the captions of the GUI components ensures that the look and feel of the
application is in a locale-sensitive manner
a. TRUE
b. FALSE
Which statements are CORRECT about properties file? (Select 2)
a. A Locale is an identifier for a particular combination of language and region
b. To create a properties file, it must use Netbeans or a Java editor
c. Extensions of the properties file must be ".properties"
Internationalized software should be developed such that it can be adapted without
engineering changes
a. FALSE
b. TRUE
Which type of driver can use a bridging technology that provides JDBC access via
ODBC drivers
a. Type-4
,b. Type-2
c. Type-1
d. Type-3
RMI does not allow you to serialize and transmit objects
a. TRUE
b. FALSE
Which distributed object technology is most appropriate for systems that consist entirely
of Java objects?
a. CORBA
b. RMI
c. DOM
d. DCE
When using URL class, which method is used to make a connection with that URL?
a. makeConnection()
b. openConnection()
c. connect()
d. accept()
When a connection is established, we can get which streams
a. input stream
b. output stream
c. both input stream and output stream
d. in-out stream
A server must retrieve the InputStream and OutputStream from the proxy socket object
to communicate with the client
a. FALSE
b. TRUE
The _______ method wakes up all threads that are waiting for a monitor
a. notify()
b. join()
c. notifyAll()
d. wait()
Which RMI layer make invocation to remote methods
a. Remote Reference layer
,b. Transport layer
c. Stub and Skeleton layer
______ facilitates many parts of same program to run serially but access a same
resource
a. Multithread
b. DaemonThread
c. Threading
d. MonoThread
You are trying to retrieve the InputStream of the socket. Which of the options will help
you to achieved this?
a. Socket socket;
String host;
BufferedReader reader;
try {
socket = new Socket("localhost", -200);
reader = new BufferedReader(new InputStreamReader(socket.getInputStream()));
} catch(Exception ex) {
ex.printStackTrace();
}
b. Socket socket;
String host;
BufferedReader reader;
try {
socket = new Socket("localhost", 200);
reader = new BufferedReader(new InputStreamReader(socket.getInputStream()));
} catch(Exception ex) {
ex.printStackTrace();
} Correct
c. Socket socket;
String host;
BufferedReader reader;
try {
socket = new Socket("localhost", 200);
reader = new BufferedReader(new InputStreamReader(socket.getStream()));
} catch(Exception ex) {
ex.printStackTrace();
}
d. Socket socket;
String host;
BufferedReader reader;
try {
socket = new Socket("localhost", 200);
To create ServerSocket object, it should know the address or port of the client to
communicate
a. TRUE
b. FALSE
A remote object is an instance of the class that implements the java.rmi.Remote
interface
a. FALSE
b. TRUE
The _______ condition describes a situation where two or more threads a blocked
forever, waiting for each other
a. synchronization
b. race
c. blocking
d. deadlock
Remote object and remote server are the same concept
a. TRUE
b. FALSE
_____ is used to transmit and receive data
a. Transport layer
b. Remote Reference layer
c. Stub and Skeleton layer
All the remote methods declared should be qualified to throw the exception
___________
a. java.rmi.RemoteException
b. java.rmi.ServerRuntimeException
c. java.rmi.MarshalException
d. java.rmi.RMIException
Which class stores information about an Internet resource address including host name,
file name, port number.
a. URL
b. Connection
Los beneficios de comprar resúmenes en Stuvia estan en línea:
Garantiza la calidad de los comentarios
Compradores de Stuvia evaluaron más de 700.000 resúmenes. Así estas seguro que compras los mejores documentos!
Compra fácil y rápido
Puedes pagar rápidamente y en una vez con iDeal, tarjeta de crédito o con tu crédito de Stuvia. Sin tener que hacerte miembro.
Enfócate en lo más importante
Tus compañeros escriben los resúmenes. Por eso tienes la seguridad que tienes un resumen actual y confiable.
Así llegas a la conclusión rapidamente!
Preguntas frecuentes
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
100% de satisfacción garantizada: ¿Cómo funciona?
Nuestra garantía de satisfacción le asegura que siempre encontrará un documento de estudio a tu medida. Tu rellenas un formulario y nuestro equipo de atención al cliente se encarga del resto.
Who am I buying this summary from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller NurseHenny. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy this summary for 26,26 €. You're not tied to anything after your purchase.