简体   繁体   English

在反射API中使用object.getClass()方法

[英]Use of object.getClass() method in reflection api

如何使用object.getClass()方法检索反映包名称的对象名称?

Take a look at 看一眼

Finding out the object of the class 找出班级的对象

This illustrates how to retrieve an object name that reflects the package name by using the object.getClass() method 这说明了如何使用object.getClass()方法检索反映包名称的对象名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM