I'm calling it because I need to print some values.
Type: Posts; User: ozman26
I'm calling it because I need to print some values.
I'm not ignoring anything. Here and I'll try again! Why would you need it in this fashion to begin with?
Sorry. Here you go.
content of a.java:
package test;
import test1.*;
Sorry. Here you go.
content of a.java:
package test;
import test1.*;
public class ATEST {
public static void main (String[] args) {
BTEST.call();
}
content of a.java:
package test;
import test1.*;
public class ATEST {
public static void main (String[] args) {
BTEST.call();
}
}
content of a.java:
package test;
import test1.*;
public class ATEST {
public static void main (String[] args) {
BTEST.call();
}
}
no. everything I try is not working.
--- Update ---
I'm a newbiw. I'm self teaching this language.
--- Update ---
if I make it public, I get non-static method call() cannot be referenced...
how would i do this? Please help
Hello All,
I have an issue. I created 2 java programs, a.java and b.java
content of a.java:
package test;
import test1.*;
publuc class ATEST {
public static void main (String[] args) {
...