obj.getClass() == Person.class 用于判断类型

obj.getClass() == Person.class  用于判断类型

猜你喜欢

转载自www.cnblogs.com/classmethond/p/10426451.html
今日推荐