Results 1 to 2 of 2

Thread: Difference Bettween Class.forName(classname)& new class name

  1. #1

    Difference Bettween Class.forName(classname)& new class name

    Hi
    What is the exact difference between the Class.forName(Classname) and new classname


    Here Class.forname () returns class object & new classname also returns specified class object. so wht is the exact difference b/w then?


  2. #2
    Junior Member
    Join Date
    Nov 2006
    Answers
    5

    Re: Difference Bettween Class.forName(classname)& new class name

    Class.forName() decides what type of object is to be created at run-time.
    It removes build-time dependency.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact