the color of profiles is not red ,so it meanss the classpath is right,,, and do u know where all the package are ,, then I can add the path into classpath .best thank!
system.out.println("total fruit is "+ numFruit); _ |--->Are you sure that 'system' ,not 'System' ,should be used here?
system.out.println("total fruit is "+ numFruit); ^ system--->System s should be uppercase
好像是个小问题, system.out.println("total fruit is "+ numFruit); 应该该为: System.out.println("total fruit is "+ numFruit);-------------------------- 让生命时刻充满着激情!
thank you all,, I have got itand I will try my best to study java language,, it's really good.
and do u know where all the package are ,, then I can add the path into classpath .best thank!
_
|--->Are you sure that 'system' ,not 'System' ,should be used here?
^
system--->System
s should be uppercase
system.out.println("total fruit is "+ numFruit);
应该该为:
System.out.println("total fruit is "+ numFruit);--------------------------
让生命时刻充满着激情!