博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
# java学习笔记 2020 1/17(二)慕课网 注释
阅读量:3948 次
发布时间:2019-05-24

本文共 305 字,大约阅读时间需要 1 分钟。

2020 1/17

伙计们注意啦:常量名一般使用大写字符 eg:final String LOVE=“我爱你”;

类名——首字母大写,且按驼峰命名规则起名,必须有

注释

  1. 文档注释 /**。。。。。。。。*/
  2. 多行注释 /。。。。。。。。。/
  3. 单行注释 //
    PS:使用文档注释时还可以使用 javadoc 标记,生成更详细的文档信息:
    @author 标明开发该类模块的作者
    @version 标明该类模块的版本
    @see 参考转向,也就是相关主题
    @param 对方法中某参数的说明
    @return 对方法返回值的说明
    @exception 对方法可能抛出的异常进行说明

看到最后的帮忙点个👍🙏 谢谢!
在这里插入图片描述

转载地址:http://vxqwi.baihongyu.com/

你可能感兴趣的文章
Displaying Card Flip Animations 显示卡片翻转动画
查看>>
Zooming a View 缩放视图
查看>>
Animating Layout Changes 动画布局的更改
查看>>
Controlling Your App’s Volume and Playback 控制应用程序的音量和播放
查看>>
Managing Audio Focus 管理音频焦点
查看>>
Dealing with Audio Output Hardware 处理音频输出硬件设备
查看>>
Monitoring the Battery Level and Charging State 监测电池电量和充电状态
查看>>
Determining and Monitoring the Docking State and Type 判断并监测设备的停驻状态与类型
查看>>
Determining and Monitoring the Connectivity Status 根据网络连接状况去省电
查看>>
Manipulating Broadcast Receivers On Demand 按需操控广播接收
查看>>
Creating a View Class 创建一个视图类
查看>>
Custom Drawing 自定义绘制
查看>>
Making the View Interactive 视图互动
查看>>
Optimizing the View 优化视图
查看>>
Setting Up the Search Interface 设置搜索界面
查看>>
Storing and Searching for Data 数据存储和搜索
查看>>
Remaining Backward Compatible 保持向后兼容
查看>>
Remembering Your User 记住你的用户
查看>>
Authenticating to OAuth2 Services 验证OAuth2服务
查看>>
Creating a Custom Account Type 创建自定义帐户类型
查看>>