My question is, when does JVM load all the classes in the project? Also, why do we need the notion of a class loader.
I'd be happy if you could give me a example of a situation where you use class loader and why you use class loader in that situation.