Question: what is the difference between static and dynamic class loading in java?
Answer: Static Class Loading: Creating objects and instance using new keyword is known as static class loading. The retrieval of class definition and instantiation of the object is done at compile time. ... Dynamic class loading is done when the name of the class is not known at compile time.