首页 > 移动平台 > 详细

Android:变量命名规则

时间:2016-08-20 16:21:34      阅读:258      评论:0      收藏:0      [点我收藏+]

参考:http://stackoverflow.com/questions/4237469/why-do-variable-names-often-start-with-the-letter-m

According to Google documentation:

  • Non-public, non-static field names start with m.
  • Static field names start with s.
  • Other fields start with a lower case letter.
  • Public static final fields (constants) are ALL_CAPS_WITH_UNDERSCORES.

Android:变量命名规则

原文:http://www.cnblogs.com/makebetter/p/5790562.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!