Class.forName will basically load a class. As part of class loading, static variables will be initialized and static blocks present in the class will be executed.
This is the concept used in JDBC to register driver(s). A static block in the driver class gets executed which inturn registers the JDBC driver with the connection manager.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.