This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / java question: why can't call methods from other classes in the same package.say:
classpath: d:\,
class1.java and class2.java both defined belong to package A, and both are in d:\A\,
when i tried to call method1() of class1 in class2, always got compile err saying that can't recognize method1(). how to solve it?
-ckzn(nancy);
2004-2-11
{246}
(#1600014@0)
-
already solved. sorry for bothering.
-ckzn(nancy);
2004-2-11
(#1600028@0)