why class.newinstance() "evil"?
asked critique #3 's answer:
why class.newinstance() "evil"?
this response formula sample:
// prevaricate class.newinstance, evil.
constructor<? extends runnable> ctor = runclass.getconstructor();
runnable dorun = ctor.newinstance();
so, since evil?
Comments
Post a Comment