Andrew Guts wrote: > Greg Trasuk wrote: > > Changed 'private String msg' to private String Msg' Result is the same. > I guess it doesn't matter for private fields.
Greg is right! I simply overlooked that, and you misunterstood him. 1. You CAN'T use properties that start with a Capital letter! 2. Instead always use prop. names like "nicePropName" BUT the name of the get/set methods have to be: getNicePropName() and setNicePropName() If getNicePropName() returns boolean you HAVE to name it isNicePropName() 3. You can name your private vars as you wish, e.g. REAL_nice_Propyname But I suggest to stick to nicePropName. 4. Remember: best Java style is to begin only class names with capital letters, methods should always begin with a lower case letter. -- Dipl.-Inf. Boris Folgmann mailto:[EMAIL PROTECTED] Folgmann IT-Consulting http://www.folgmann.de -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
