adspace


What the class forname () does?

Answer Posted / Himanshu Bisht

In Java, the Class.forName("<className>") method is used to load a class by its fully-qualified name (package name + class name) as a Class object. It can be useful when working with JDBC drivers, where the driver class must be loaded before creating a connection to a database.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does view occupy space?

1019


What are the different SQL Server Versions you have worked on?

1079


What is subquery? Explain the properties of a subquery?

1059


What is the difference between for xml raw and for xml auto?

1117


What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

1299


Disadvantages of the indexes?

1223


How to enter binary string literals in ms sql server?

1244


What is in place upgrade in sql server?

1126


Can we shrink data file in sql server?

1128


Is it possible to have clustered index on separate drive from original table location?

1040


What is the primary use of the model database?

1149


How to rebuild the master database?

1166


What is sql server query analyzer?

1128


What are the source of constraints?

1009


what is the difference between openrowset and openquery?

1194