阅读背景:

是否有可能在java中使用反射创建没有arg构造函数的类的“空白”实例?

来源:互联网 

I have a class which has not default constructor. And I need a way to get 'blank' instance of this class. 'blank' means that after instantiation all class fields should has default values like null, 0 etc. I have a class which has not default constructo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: