Thanks you very much! I've appreciated your and Greg's answers. It was a real help.
Andrew
Andrew Guts wrote:
Greg Trasuk wrote:Greg is right! I simply overlooked that, and you misunterstood him.
Changed 'private String msg' to private String Msg' Result is the same. I guess it doesn't matter for private fields.
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.
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
