CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS J2EE JAVA DETAILS
Question :
How do u create objects at runtime?

Posted by: prathyusha on 5/19/2008

Contact prathyusha  Contact prathyusha
Category Java Interview Questions
Rating (0.0) By 0 users
Added on 5/19/2008
Views 1121
Rate it!
Answers:

we can create object at runtime using object using
class.forname.using class.forname we can load specific class and after that we can create a instance of that class using newInstance method.



 Posted by: seema pawar    

Contact seema pawar  Contact seema pawar


If you have the better answer, then send it to us. We will display your answer after the approval.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification  Enter the above shown code:*
Inform me about updated answers to this question

   
Related Questions
View Answer
What is a string Handling? How to use it? what is difference b/w Event handling?
View Answer
What is multi threading ?
View Answer
What are the main differences between
jdk1.4 n jdk1.5?
View Answer
Given A = 1, B = 2, C = 3, D = 4 ?? Z = 26, write a java standalone
program to encode the word ?TELEPHONE? into numbers.
View Answer
Write a java standalone program / method to take out all the special
characters in the string provided below.
//ASCII a ? z (97 ? 122)
String sSENTENCE = ?This!is^a$t*e)s|t?;
View Answer
Why pointers are not used in java?
View Answer
What is super class of an Exception class?
View Answer
What is super class of an Exception class?
View Answer
Why JAVA not support multiple inheritance? How can we pass address of an object?
View Answer
In How many ways we can request the System for the garbage collection to cleanup the memory? And what are the differences?
View Answer

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:

View ALL Java Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/15042/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

0.76