Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is meant by class loader and how many types are there?

Answers were Sorted based on User's Feedback



What is meant by class loader and how many types are there?..

Answer / bhaskar verma

Class loader is a ways to load in the class in the
memory.The class loader is of two type.
1)static Loading.
2)Dyamic Loading.

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
is loaded.
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

What is meant by class loader and how many types are there?..

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
"JAVA_HOME/jre/lib/ext/
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

Post New Answer

More Core Java Interview Questions

Which is faster string or stringbuilder?

0 Answers  


Can you override a private or static method in java?

1 Answers  


Can a class have multiple constructors?

0 Answers  


why we use merge option in hybernate pls give a ex snippet

0 Answers   CoreObjects,


what is the Diff. between Access Specifiers and Access Modifiers?

39 Answers   BMC, Cyber Shot, Infosys, VTS, Wipro,


Why are the methods of the math class static?

0 Answers  


where lives in jvm

5 Answers  


what is d difference between deep cloning and shallow cloning in core java?

3 Answers   Satyam,


Why are pointers not secure?

0 Answers  


How do you square a number in java?

0 Answers  


Why does java not support operator overloading?

0 Answers  


What are extraneous variables examples?

0 Answers  


Categories