应该为new test() instanceof test.class;才能返回true,判断instanceof左边是否为右边的实例,返回boolean
点赞 1

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务