filmov
tv
What is Java classloader? #like #share #subscribe #coment

Показать описание
Java Classloader is the program that belongs to JRE (Java Runtime Environment). The task of ClassLoader is to load the required classes and interfaces to the JVM when required.
The Java run time system does not need to know about files and file systems because of classloaders. Java classes aren’t loaded into memory all at once, but when required by an application
Example- To get input from the console, we require the scanner class. And the Scanner class is loaded by the ClassLoader.
A Java Classloader is of three types:
1)BootStrap ClassLoader:
2)Extension ClassLoader
3)System ClassLoader
#learn #comuter #interview #computerscience #java #javainterviewquestion #javaprogramming #learning #subscribe #company #interview #interviewquestions
The Java run time system does not need to know about files and file systems because of classloaders. Java classes aren’t loaded into memory all at once, but when required by an application
Example- To get input from the console, we require the scanner class. And the Scanner class is loaded by the ClassLoader.
A Java Classloader is of three types:
1)BootStrap ClassLoader:
2)Extension ClassLoader
3)System ClassLoader
#learn #comuter #interview #computerscience #java #javainterviewquestion #javaprogramming #learning #subscribe #company #interview #interviewquestions