This content has been marked as final.
Show 3 replies
-
1. Re: classpath..!!!
jaikiran Jul 14, 2006 6:36 AM (in response to ashudagr8)i am creating a instance of a class efg in class abc
Your code should look like:Class classDefinition = Class.forName("p.sp.ssp.abc"); object = classDefinition.newInstance();
You will have to specify the entire package name and class name to create the Class. -
2. Re: classpath..!!!
jaikiran Jul 14, 2006 6:37 AM (in response to ashudagr8)
Sorry, i meant:Class classDefinition = Class.forName("p.sp.asp.efg");
-