What is meant by class loader and how many types are there?
Answers were Sorted based on User's Feedback
Answer / bhaskar verma
Class loader is a ways to load in the class in the
memory.The class loader is of two type.
Dynamic way is done by the help of class.forName();
Static loading is done by 4 ways.
1)In command prompt when u type "java <filename>.The class
2)When new keyword is use.Ex. Hello h=new Hello().
3)When you invoke a static method with the class name.
Ex. Hello.m1().m1() is the static method with null value.
|Is This Answer Correct ?||17 Yes||6 No|
Answer / lucky
Class Loader: Class loder is mainly responsible for loading java class into JVM.
There are 3 types of java class loaders:
1)Bootstrap class loader :loads jdk jars.
2)Extensions class loader : loads java classes from the path
3)System class loader : loads the java classes from system class path , class path has been set by the CLASSPATH environment variable.
|Is This Answer Correct ?||2 Yes||0 No|
Describe the various concepts related to object oriented programming (oop).
Nested classes VS Inner classes?
How to print nodes of a Binary tree?
Can we write method inside a method in java?
Explain about serializable interface in java?
What is Co-Variant return type in method overriding?
Explain what access modifiers can be used for variables?
justify c is portable
What is gui programming?
How is java created?
How can I become a good programmer?
Why we use multi threading instead of multiprocessing?