按照题上代码写的,为什么会报错呢?
import的错误信息是The import java.util.Date conflicts with a type defined in the same file
Date date = sdf.parse(d);的错误信息是Type mismatch: cannot convert from java.util.Date to com.imooc2.Date
Zmorn
相关分类