Hi, I don't think this is really a beginner question, but i could be forgetting something very simple! I have two classes, LevelCharacter (a superclass) and Policeman (a sub class of LevelCharacter), the problem i have is this: i can compile LevelCharacter no problem, but when i compile Policeman i get this error:
symbol : class LevelCharacter location: class Policeman class Policeman extends LevelCharacter ^ 1 error
why am i getting this error? they files are in the same folder and i don't see any other problems!!! HELP!
Two questions: 1). Is you CLASSPATH set up correctly? 2). Are you classes located in your CLASSPATH (be sure to include the proper directory structure if using packages)? Answering both of these questions will ususlly solve the problem that you describe. The only other suggestion is to make sure that everything is spelled correctly
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.