When programming java using netbeans IDE, if we add a jar file to that program, we can use its classes by using import class in the java file. But in the case of using oracle or mysql databases, why we are using the class.forname to load the library.
Thanks in advance.