a instanceof A:判断对象a是否是类A的实例。如果是,返回true;如果不是,返回false

 

 

 

 

 

 

 

posted @ 2021-03-28 01:33  小白冲  阅读(117)  评论(0)    收藏  举报