获取一个变量的类型

.getClass() 方法

原文地址:https://www.cnblogs.com/howmanyk/p/14657356.html