Why do you name a class with a wildcard character? Because of stuff like the problem you are experiencing, it is generally bad practice to use keywords reserved by the programming language for naming anything related to the project. That said, as a good practice, you should name your class in a way which summarizes what the object is supposed to be once instantiated. If you create a class for a gas turbine, it should probably be called GasTurbine.class .