I have this code snippet that I'm trying to find out what exactly it is doing, I'm pretty sure the author is pretty confused, please explain if these statements are taking any affect. Like starting an undefined Thread what does that actually do but run in a empty thread? What happen when class is found doesn't the return value have to be stored someway or does it load into the class in some magical way?
public SomeClass() {
try {
Class.forName("SomeclassToBeFound");
} catch (ClassNotFoundException e) {e.printStackTrace();}
new Thread().start();
}
I would appreciate some help