You should not be calling classes things like j or AAA.
It is possible that j is in such a position that the compiler thinks it is a class name, but you have got it out of position and it is not supposed to be a class name.
And beside what you have been told already about confusing class name, you should spend more time on choosing all other variable names. Also, follow right Java naming convention. Moreover - format code properly, as line 6 suppose to be shifted by 4 spaces to the right hand side, actually the same as line 2. To conclude this - in your code is more confusion than clarity. Please take seriously what you have been told in posts above, as these bad habbits from the early time leads to a bad practices and error prone code.