- 10
- 0
- 约3.48千字
- 约 6页
- 2016-12-29 发布于重庆
- 举报
JAVA代码注释范例
作者: 周建东??日期: 2007-10-18 03:31
字体大小: 小 中 大
示例如下:
/*
?* @(#)Object.java???? 1.61 03/01/23
?*
?* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
?* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
?*/
?
package java.lang;
?
注释结构:
/*
?* @(#){类名称}.java?????? {创建时间}
?*
?* {某人或某公司具有完全的版权}
?* {使用者必须经过许可}
?*/
?
package java.lang;
?
?
2.???? 具体类功能注释
示例如下:
/**
?* Class codeObject/code is the root of the class hierarchy.
?* Every class has codeObject/code as a superclass. All objects,
?* including arrays, implement the methods of this class.
?*
?* @author? unasc
原创力文档

文档评论(0)