C语言的注释符一般分为两种,一种是以“/*”开头,在中间加上注释内容,并以“*/”结尾的段落注释符。在“/*”和“*/”之间的即为注释。 另一种是以“//”开头,后面加注释内容的单行注释符。在“//”之后的即为注释。 程序编译时,不对注释内容作任何处理。注释一般可出现在程序中的任何位置。注释用来向用户或程序员提示或解释程序的功能作用。
我们通过在 Bean 类中使用注释来指定 EJB3 会话 Bean 的部署描述符。
We specify the deployment metadata of the EJB3 session bean using annotations in the bean class.
旧模式的注释和标识符仍然会保留。
The annotation and the identifiers for the old schema are retained too.
在早期,编程工具受制于标识符的长度,故而注释成为了传达编程涵义的唯一选择。
In early days, your tool often had a limit on identifier character length that could be used so the comments were the only choice for delivering some meaning to other human beings.
应用推荐