java,判断某个数据的类型

 

date instanceof Object (date是要判断的数据,Object是类型,如String,返回值是true)

 

 

转 : https://blog.csdn.net/weixin_42553433/article/details/88070083

posted @ 2020-04-21 09:27  与f  阅读(3815)  评论(0)    收藏  举报