C++使用runtime-type information(RTTI),Java 使用instanceof 操作符。instanceof 运算符用来判断一个变量所引用的对象的实际类型,注意是它引用的 ...
確定! 回上一頁