ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What is meant by class loader and how many types are there?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is meant by class loader and how many types are there?
Answer
# 1
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 ?    2 Yes 0 No
Bhaskar Verma
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Is &&= a valid Java operator?  2
Which class is extended by all other classes?  2
If two threads call a static method at the same point of time, what will happen? KPIT1
What is the middleware?  2
Given: 1. package test; 2. 3. class Target { 4. public String name = “hello”; 5. } What can directly access and change the value of the variable name? 1 any class 2 only the Target class 3 any class in the test package 4 any class that extends Target  3
Which containers may have a MenuBar?  1
what is the life cycle of jsp? Photon2
when i write string s1="java"; in one program(application) and string s2="java"; in another application on the same jvm will both objects s2,s2 will refer to same memory location where "java" is stored in string pool.  2
how do you store phone numbers using java collections Bosch4
when,where and how to use abstract class and interface  2
how can we use the servlet as standalone apllication?should we need to extend any class? Logica-CMG2
how to transactions(Bank transactions) in business process in ejb? Photon1
What is Collections API?  1
what is the difference between multitasking and multithreading?  8
What is operator?  2
What is an exception?  4
What are the advantages of the model over the event- inheritance model?  1
Can you have an inner class inside a method and what variables can you access?  2
where do we use init()  2
10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;  1
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com