帮我看看这代码 [问题解决]
用eclipse执行说无法解析oblong类型,是什么意思,初学者,请大家解答一下,谢谢import java.util.*;
public class OblongTester {
public static void main(String[] args)
{
Scanner ab = new Scanner (System.in);
double oblongLength, oblongHeight;
Oblong myOblong = new Oblong(oblongLength, oblongHeight);
System.out.print("please enter ");
oblongLength = ab.nextDouble();
System.out.print("sdfsdfa");
oblongHeight = ab.nextDouble();
System.out.println("sfasf"+myOblong.getLength());
System.out.println("sfdaf"+myOblong.getHeight());
}
}
[[it] 本帖最后由 yxishe 于 2008-12-1 12:49 编辑 [/it]]