Using the
SCJP 1.5 cert book by Kathy and Bert.
Legal Identifiers:
1. must start with a letter, a currency character($), or a connecting character such as the underscore.
2. after the first character, identifiers can contain any combination of letters, currency characters, connecting characters or numbers.
The exam watch says that the rules for legal identifiers are not only for variable names but for ALL
java components including methods and classes.
I use NetBeans 5.5.1 and I try to name my class $$__. (2 underscores) It compiles but has a runtime error of: java.lang.NoClassDefFoundError:
Is this a Netbeans problem? It seems like the more I play around with wierd class names, but following the guidelines, some classes run and some don't.
[ January 09, 2008: Message edited by: leo donahue ]