What does Class.forname method do?

It initialises a Class, dumbass!

We have LoadMeLater.java
package biz.tugay;
 
public class LoadMeLater {
    static {
        System.out.println("Class loaded!");
    }
}

Lets see what Class.forName will do..
package biz.tugay;
 
public class Main {
    public static void main(String[] args) throws ClassNotFoundException {
        Class.forName("biz.tugay.LoadMeLater");
    }
}

Here is the output:
Class loaded!

It would be a good idea to check this, this and this!