ComparableOperatorTest 是创建的对象。
ComparableOperatorTest cannot be resolved to a type这句话的意思是找不到这个类,所以要创建一个ComparableOperatorTest类。问题就迎刃而解了。因为ComparableOperatorTest不是JDK又的类,所以要自己创建。
如果是JDK有的包,就要导入这个包。ComparableOperatorTest
ComparableOperatorTest 是创建的对象。
ComparableOperatorTest cannot be resolved to a type这句话的意思是找不到这个类,所以要创建一个ComparableOperatorTest类。问题就迎刃而解了。因为ComparableOperatorTest不是JDK又的类,所以要自己创建。
如果是JDK有的包,就要导入这个包。ComparableOperatorTest