Illegal Start of type.

I get the famous illegal start of type error no matter what i do to this line right here.. Can anyone help me with it?

{

}

if((i & 0x100)! = 0);//Illegal start of type occurs on this line

{

[368 byte] By [thesmileyknighta] at [2007-10-2 12:58:15]
# 1

I am not advanced at java programming, but am only a teacher that makes java applications to make me a better teacher.

Possible answers:

1) has the variable 'i' been declared previous to its use in the if statement (i.e. int i)

2) did you know that variables can not start with a digit (i.e. 0x100) (this is most likely where the error is coming from)

I hope this novice programmer has been of some help. Best of luck!!!

bryanbennetta at 2007-7-13 10:16:16 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
thanks, problem solved. I owe you.
thesmileyknighta at 2007-7-13 10:16:16 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 3
I'm pleased to help friend. And the awarding of the assigned duke dollars to this question will be appreciated at your convienence. As a new programmer I need all of them that I can get.
bryanbennetta at 2007-7-13 10:16:16 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...