大家好,我是 Java 新手,所以我不太了解,你能尽可能简单地帮助我,所以这是我的代码,我收到了关于月份(int)的错误,这意味着它无法导入库。
public enum Month {
January(1), February(2), March(3), April(4),May(5),June(6), July(7), August(8), September(9), October(10), November(11), December(12)
}
ERROR:Description Resource Path Location Type The constructor Month(int) is undefined Month.java /tb00594_comp1027_formative2/src/tb00594_comp1027_formative2 line 4 Java 问题
警告:描述资源路径位置类型构建路径指定执行环境JavaSE-1.7。工作空间中没有安装与此环境严格兼容的 JRE。tb00594_comp1027_formative2 构建路径 JRE 系统库问题
所以如果你能尽快帮助我,我会很高兴的。
LEATH
慕桂英4014372
茅侃侃
相关分类