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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens if I remove static from main method?

1005


Why do we create public static method in java?

1106


What is pangram in java?

1010


Can a class be private?

956


If a variable is declared as private, where may the variable be accessed?

1056


What are different data structures in java?

1037


What are the advantages of inner classes?

1020


Why is a constant variable important?

950


Is arraylist sorted in java?

1000


What is a concrete classes? Is Java object class is concrete class?

975


What is string pool?

1116


What is the use of parseint in java?

1019


Can list be null in java?

1032


What do you mean by JVM?

1072


Explain the differences between abstraction and encapsulation?

1051