Tuesday , 3 December 2024
Breaking News
Home » Tag Archives: Class Car

Tag Archives: Class Car

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 »