What is class loader? Purpose of Bootstrap class loader.

What is class loader? Explain the purpose of Bootstrap class loader.

Class loader finds and loads the class at runtime. Java class loader can load classes from across network or from other sources like HTTP, FTP etc.

Bootstrap class loader is responsible for loading classes that are used by JVM to function properly from “jdk/jre/lib/rt.jar”.

Explain Java class loaders? Explain dynamic class loading?

Class r = loadClass(String className, boolean resolveIt);

className : used to uniquely identify a class implementation.
resolveIt: a flag indicating the class loader that classes referenced be loaded as well.
What is a TreeSet class?
What is a TreeSet class? - TreeSet class is used to store large amount of data and uses tree for storage.....
String object is immutable, Explain.
String object is immutable, Explain. - This means once you have created String object and assigned a value, you can’t change the value of the object....
Difference between traditional java Array and Arraylist class
Difference between traditional java Array and Arraylist class - Traditional java array is fixed length whereas ArrayList supports dynamic arrays that can grow...
Post your comment