Search code examples
javanamingreserved-words

Reserved words as names or identifiers


Is there any tricky way to use Java reserved words as variable, method, class, interface, package, or enum constant names?


Solution

  • No, there is no way. That's why they're labeled "reserved".