From: Benjamin C. <bc...@cs...> - 2001-03-12 21:57:47
|
So, say I've got a java class A, and a "subclass" B done in jython. Should I be able to do the following in a java program: A a = null; Class c (previously initialized to have an instance of B); a = (A) c.newInstance(); If not, why not? Thanks Ben |