Okay, so I am going through the Android development tutorial book: The Big Nerd ranch and I am on chapter two where it tells you that you need to have certain prefixes and not have certain prefixes before getters and setters.
"What is the point of setting these prefixes? Now when you ask Eclipse to generate a getter for mQuestion, it will create getQuestion() rather than getMQuestion() and isTrueQuestion() rather than isMTrueQuestion()."
Why would having getMQuestion()
make a difference, wouldn't it be the same as getQuestion()
?
Thanks