Science, asked by mohanpahva8875, 1 year ago

How does Java ClassLoader work?

Answers

Answered by cutieeee10101
3
HEY MATE......

HERE IS UR ANSWER.......❤❤

Classloader hierarchy. Whenever a new JVM is started the bootstrapclassloader is responsible to load keyJava classes (from java.lang package) and other runtime classes to the memory first. The bootstrapclassloader is a parent of all otherclassloaders. Consequently, it is the only one without a parent.

HOPE IT HELPS YOU AND MARK AS BRAINLIEST.......☺☺
Answered by animesharyan0011
0

Answer:

A Java Class is stored in the form of byte code in a . class file after it is compiled. The ClassLoader loads the class of the Java program into memory when it is required. The ClassLoader is hierarchical and so if there is a request to load a class, it is delegated to the parent class loader.

Similar questions