In JDBC, all DriverManager methods are declared

In JDBC, all DriverManager methods are declared

In JDBC, all DriverManager methods are declared

A.
static

B.
friendly

C.
dynamic

D.
inbound

E.
global

F.
hidden

Explanation:
Quoted directly from Sun’s Java document site at
http//developer.java.sun.com/ All DriverManager methods are declared static,
which means that they operate on the class as a whole and not on particular
instances. In fact, the constructor for DriverManager is declared private to prevent
users from instantiating it. Logically, there is one instance of the DriverManager
class. This means that methods are called by qualifying them with DriverManager,
as in the following line of code.
DriverManager.setLogWriter(out.;



Leave a Reply 0

Your email address will not be published. Required fields are marked *