How to pass a type as a method parameter in Java

后端 未结 0 725
一个人的身影
一个人的身影 2020-12-23 06:44

In Java, how can you pass a type as a parameter (or declare as a variable)?

I don\'t want to pass an instance of the type but the type itself (eg. int, St

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