In new Interface package when I right-click in new java class option nit shown
Advertisement
Answer
interface
is not a valid package name, because it is a Java keyword. A keyword can not be used as an identifier, for example as a package name, variable name or class name. If you choose a different name for your package, the option to create a Java class should appear.