有没有办法,我怎样才能检测到某个object是否实现了某个接口?
if(myObj implements IMyInterface) { //... do something }
https://stackoverflow.com/questions/16013667
相似问题