Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

QUESTION 31 Exception IOException occurs when an input/output error occurs when

ID: 3598575 • Letter: Q

Question

QUESTION 31

Exception IOException occurs when

an input/output error occurs when connecting to a socket

an input/output error occurs when closing a socket.

an input/output error occurs when opening a socket.

an input/output error occurs when flushing a socket

1 points   

QUESTION 32

Many of Java’s networking classes are contained in package

java.util

java.net

java.applet

java.awt

1 points   

QUESTION 33

An object of class ______ contains an IP address

IPNetObject

InetAddress

InternetAddress

ObjectNet

1 points   

QUESTION 34

Class ________ binds the application to a port for datagram transmission

DatagramSocket

DataSocket

BindDataSocket

TransmitSocket

1 points   

QUESTION 35

With stream sockets a process establishes a connection to another process

True

False

1 points   

QUESTION 36

Statement objects return SQL query results as

RowSet object

ResultSet object

FieldSet object

TableSet object

1 points   

QUESTION 37

SQL keyword ________ is followed by the selection criteria that specify the rows to select in a query

ORDER BY

FROM

SELECT

WHERE

1 points   

QUESTION 38

Merging rows from multiple database tables is called

joining the tables

merging the tables

binding the tables

connecting the tables

1 points   

QUESTION 39

Drivermanager method getConnection is used to

obtain an IP address

obtain a connection to a database

manage a driver of a database

none of the above.

1 points   

QUESTION 40

______, a disconnected RowSet, caches the data of a ResultSet in memory

CachedResult

JdbcRowSet

CachedResultSet

CachedRowSet

a.

an input/output error occurs when connecting to a socket

b.

an input/output error occurs when closing a socket.

c.

an input/output error occurs when opening a socket.

d.

an input/output error occurs when flushing a socket

Explanation / Answer

31.a

32.b

contains classes to enhance networking manipulations.

33.b

34.a

35.True

36.b

37.c

39.b

40.d

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote