I am working on a simple "test 123" java program
for a RoboJDE robot.
I keep getting a semantic error when I compile.
The error reads
***semantic error: "private" is not a valid modifier for al ocal variable***
***semantic error: "staict" is not a valid modifier for a local variable***
My code is:
import com.ridgesoft.intellibrain.IntelliBrain;
public class test{
public static void main (String args[]) {
[B]private static String myName ="testing 123";[/B]
System.out.println(myName);
}
}
I copied it directly from a working project and just changed some of the
wording.
I can't figure it out.
Any ideas would be extremely helpful!!!
Thanks in advance!!
COY