[4902] in java-interest

home help back first fref pref prev next nref lref last post

newInstance()

daemon@ATHENA.MIT.EDU (David Lebel)
Thu Jan 18 19:49:29 1996

Date: Thu, 18 Jan 1996 17:33:06 -0500
From: David Lebel <lebel@IRO.UMontreal.CA>
To: java-interest@java.sun.com

Hello,

	I'm creating a new instance of an object with
Class.forName(name).newInstance(), but my class as a constructor that
waits for parameters.  Is there a way to still use this method, but
pass my parameters to my constructor?

	eg.  my class' constructor waits for three parameters.

	...David
	
-- 
 David Lebel               " Thoughts from above hit the people down below.  
 lebel@iro.umontreal.ca       People in this world, we have no place to go. "
 http://www.iro.umontreal.ca/~lebel/               -- New Order, _Temptation_
__ 
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post