Explain Java class loaders? Explain dynamic class loading?

Explain Java class loaders? Explain dynamic class loading?

The classes are available to the JVM and are referenced by the name. After JVM starts, it introduces the classes into it. All class loaders follow a hierarchical fashion to be identified by JVM. The very first class is the ‘initial class’, in which public static void main(String args[]) method is encapsulated. This class is loaded by JVM itself. All other subsequent classes are loaded by as they appear in the ‘class chaining’. Every class loader creates a name space to uniquely identify them. One class loader, at least, are included in every JVM, called bootstrap class loader or primordial.
Difference between an abstract class and an interface in Java.
An abstract has one or more abstract methods apart from concrete methods. All the abstract methods must be overridden by its subclasses....
What is the main difference between an ArrayList and a Vector?
Vector is synchronized where as ArrayList is not,Vector has a default size of size 10, where as ArrayList has no default size......
Java Collection framework and benefits
A collection is a set of heterogeneous objects. A framework makes the applications efficient, less hard coded.....
Post your comment