我正在尝试在Eclipse中使用Comparable Interface,但是仍然出现上述错误,我无法导入package java.lang;
It's either :
import java.lang.*;
Or
import java.lang.Comparable;
but not :
import java.lang;
Because it's a syntax error in Java.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.