Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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

This is a discussion on Difference Bettween Class.forName(classname)& new class name within the Java forums, part of the Software Development category; 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 ...

Go Back   Geeks Talk > Software Development > Java
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Java Java related Issues and Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-20-2008
Junior Member
 
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
prakashreddy.gade is on a distinguished road
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?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-22-2008
Junior Member
 
Join Date: Nov 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
rohitmania is on a distinguished road
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.
Reply With Quote
Reply

  Geeks Talk > Software Development > Java

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Difference between interface and abstract class? are they both same mahesh9920 OOPS 29 4 Weeks Ago 08:18 AM
Any other way to load the driver other than Class.forName() urs_bluevr Java 2 11-28-2008 05:43 AM
Super Class Sub Class Serializable Interface srikanthm2 Java 1 02-11-2008 02:36 AM
difference between abstract class and interface manipalreddy.s Java 12 10-25-2007 07:06 AM
Difference between the standard and custom class JobHelper WinRunner 3 12-20-2006 05:48 AM


All times are GMT -4. The time now is 04:18 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved