Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDeclan Smith
453 PointsWhat exactly is the use of 'm' in mFact and mButton?
New to coding and I'm not fully grasping the use of the 'm' of the use of 'private' when writing this script.
1 Answer
Fahad Mutair
10,359 Pointshi Declan Smith , its android style of coding we use m prefix for member variable or member field
Follow Field Naming Conventions
Non-public, non-static field names start with m.
you can read more in this link