关于反射的面试题

【1】问题1:创建Person对象,以后new Person()创建,还是用反射创建?

 

【2】问题2:反射是否破坏了面向对象的封装性?

 

posted @ 2022-10-23 17:23  爱的加勒比  阅读(20)  评论(0)    收藏  举报