Saturday , 21 December 2024
Breaking News
Home » Tag Archives: Class Loader

Tag Archives: Class Loader

Difference between Static and Dynamic class loading

Static class loading: Classes are statically loaded with Java’s new operator. Car c= new Car(); A NoClassDefFoundException is thrown if a class is referenced with Java new operator but the runtime system cannot find the referenced class. Dynamic class loading: Dynamic loading is a technique for programatically invoking the function of a class loader at runtime. Done by Class.forName(String className); ... Read More »