Wondering if m_ naming convention conforms to Javabean property style?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
well, m_ comes from Microsoft standards, which is based on Hungarian Notation. So that naming pattern isn’t recommended by Sun/Oracle.
That’s not to say you can’t use them in JavaBeans as, javabeans are all about the method signatures, not about the field names, so you can call fields whatever you like.