Why does Java not support primitive return values when invoking methods via reflection?

前端 未结 0 784
春和景丽
春和景丽 2020-12-31 07:40

I noticed that Java Reflection supports access on fields of primitive types such as boolean or int without boxing:

public final class Field extends Accessible         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题