Multiple choice technology programming languages

As per the Coding Guidelines of the Project, Which of the following is a valid Class Attribute ?

  1. mMemberAttribute

  2. mmemberAttribute

  3. MemberAttribute

  4. member_attribute

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

mMemberAttribute follows the class attribute guideline - 'm' prefix indicates member variable, followed by camelCase. mmemberAttribute (double m), MemberAttribute (no prefix), and member_attribute (snake_case) all violate the naming convention.