Can you explain in more detail (maybe with an example) what you mean exactly?
As far as I know, when you load a class in
Java, it will never be unloaded (unless the class loader that loaded it is garbage collected itself). You don't need to manage loading classes yourself, the class loader does that for you. But I suspect that by "loading a class" you might mean something else than the Java class loading process?