Re: How to call the method in another class in the same package?

2000-05-09 Thread subbarao sakhamuri
place the directory in which you are working in the classpath.add the directory name to the classpath in autoexec.bat file. subbu --- Xunming Liu [EMAIL PROTECTED] wrote: Hi: here I just ask a simple question. I want to put two java files and created classed in the same package e.g.

How to call the method in another class in the same package?

2000-05-08 Thread Xunming Liu
Hi: here I just ask a simple question. I want to put two java files and created classed in the same package e.g. fileOne.java can create fileOne.class But I want to use the functions of fileOne.java in fileTwo.java when I compile fileTwo.java using Javac fileTwo.java it show's: "Class

Re: How to call the method in another class in the same package?

2000-05-08 Thread Deniz Ersöz
Declare the second one as static and call it like Math functions or declare an object from the second class to call the method === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant