class.get...
来源:互联网 发布:百度数据分析工具 编辑:程序博客网 时间:2024/03/28 18:46
package test;public class Sample{ public static void main(String[] args){ //得到类的简写名称 System.out.println(Sample.class.getSimpleName()); //得到对象的全路径 System.out.println(Sample.class); //得到对象的类模板示例,也就是Class System.out.println(Sample.class.getClass()); //得到Class类的名称 System.out.println(Sample.class.getClass().getName()); } }输出:Sampleclass test.Sampleclass java.lang.Classjava.lang.Class
0 0
- class.get...
- Get ACL History Class
- ActionScript 3 : Get a Class Reference by Class Name
- Get Document class anywhere in MFC program.
- class Property Get、Property Let 使用说明
- hibernate get(User.class,Serializable id)
- Get field class in annotations processor
- session.get(Class.class, Serializable.class)中Serializable.class不能传数值的问题
- get static value of class by java reflection
- ASP中的 class Property Get、Property Let的使用
- A Userful Class:CActiveDirectoryUsers to Get some information about ActiveDirectory
- XWinVer - Simple class to get Windows OS version
- [Java Generics] get T.Class from <T>
- In ActionCommand derived class to get ActionRequest, ActionResponse
- JavaScript: Get Elements by ID, Tag, Name, Class
- How to Get a List of Class Attributes in Python
- Annotation Processor - How to get the Class it is processing
- JAVA反射机制,get.method()/ Class.forName(className)
- 服务器共享Session和jsp四种会话跟踪技术
- hrbust 哈理工oj 1588 神医【贪心】
- vmstat
- Eclipse+Maven创建webapp项目<二>
- php递归函数的理解
- class.get...
- 购买百度开放云不得不看的实惠好贴!
- JAVA运算符
- 实践pom.xml
- 注解版struts2与spring整合(maven管理)
- osg学习笔记(一)
- 解决子元素用css float浮动后父级元素高度自适应高度
- TestBird创新发布自助功能测试平台,强势进军APP测试领域
- impala查询不到hive里创建的表