What is Java Classloader?
Java Classloader is part of Java runtime environment which loads class on demand (lazy loading) into JVM (Java Virtual Machine) not only from local file system but from remote system or web.
There are 3 types of Classloader.
i. Bootstrap Classloader: Loads core java API file rt.jar from <JAVA_HOME/jre/lib> folder.
ii. Extension Classloader: Loads jar files from <JAVA_HOME/jre/lib/ext> folder.
iii. System/Application Classloader: Loads jar files from path specified in environment variable as CLASSPATH.
| Is This Answer Correct ? | 3 Yes | 0 No |
How to convert String into primitive datatype.
What are java packages? What's the significance of packages?
How do you create a sop?
Give few examples of final classes defined in Java API?
What are different types of multitasking?
I have a String s = java; What is the output when I say s.replaceAll('j', 'k'); Also what is the value of s after replacing?
What does yield method of the thread class do?
What is boolean query?
What does 3 dots mean in java?
Is it possible to do method overloading and overriding at a time
Which java.util classes and interfaces support event handling?
What value is a variable of the string type automatically initialized?