Hi,
I am very (very very) new to java and have what I am sure is a simple
problem that I hope someone can help with. I have two .java files. The first
has
public final class FormatSWN {
public FormatSWN() throws Exception {
etc etc
}
etc etc
}
This file compiles without an errors. I am wanting to call the FormatSWN
class from within another file. The code in that file is
class CallSWN {
public static void main(String[] cName) {
FormatSWN();
}
}
This file returns a compile error saying "Cannot resolve symbol" and has the
^ pointing at the start of FormatSWN();
Both these files are in the same directory so that should not be an issue.
I know this will be really simple, but it has me stumped. If someone has the
answer, that would be great
Steve
I am very (very very) new to java and have what I am sure is a simple
problem that I hope someone can help with. I have two .java files. The first
has
public final class FormatSWN {
public FormatSWN() throws Exception {
etc etc
}
etc etc
}
This file compiles without an errors. I am wanting to call the FormatSWN
class from within another file. The code in that file is
class CallSWN {
public static void main(String[] cName) {
FormatSWN();
}
}
This file returns a compile error saying "Cannot resolve symbol" and has the
^ pointing at the start of FormatSWN();
Both these files are in the same directory so that should not be an issue.
I know this will be really simple, but it has me stumped. If someone has the
answer, that would be great
Steve
Comment