Академический Документы
Профессиональный Документы
Культура Документы
relational databases,
spreadsheets and flat files
iv) DBC is an API to bridge the
object-relational mismatch
between OO programs and
relational databases
which of the following are Type 1 and Type2 Type 2 and Type 3 Type 3 and Type 4 Type 1 and type4
partly java Drivers
i)Type1
ii)Type 2
Iii) Type 3
iv) Type 4
How can you retrieve By invoking the By invoking the method By invoking the method By invoking the methods
information from a method get(…, String get(…, Type type) on the getValue(…), and cast the on the ResultSet:
ResultSet? type) on the ResultSet, where Type is an result to the desired Java getString(…), getBoolean
ResultSet, where object which represents a type. (…), getClob(…),getInt()
type is the database database type etc
type
Which of the following Database.getMaxCon Connection.getMaxConnecti DatabaseMetaData.getM ResultSetMetaData.getM
methods finds the maximum nections ons axConnections axConnections
number of connections that a
specific driver can obtain?
Which of these class is used DatagramPacket URL InetAddress ContentHandler
to encapsulate IP address
and DNS?
602: Advance Java
which of the following PrintWriter pw=new DataInputStream is = new DataInputStream dis=new Stream s=new
creates I/O streams for PrintWrite(); DataInputStream(client.getIn DataOutputStream(); StreamSocket(Client.getS
communication to the client BufferedReader putStream()); DataOutputStream tream);
br=new DataOutputStream os = new dos=new FileStream fis=new
BufferedReader(); DataOutputStream(client.get DataInputStream(); FileStream(Servet.getStr
OutputStream()); eam);
A server can connect to 1 4 32 Multiple
what are the methods of i,ii,iii,iv,v ii,iii,iv,v i,ii,iii,v i,iii,iv,v,vi
ServerSocket Class.
Public socket accept()
Public outputStream
getOutPutStream()
Public synchronized void
close()
Public synchronized void
establish()
Public inputStream
getInputStream
Throwable throw Exception
The time required to create a reater than the time less than the time required equal to the time d) none of the
new thread in an existing required to create a to create a new process required to create a new mentioned
process is ___________ new process process
602: Advance Java