Java has introduced a special type of comment called a documentation or doc comment. These comments begin with /** and end with */. Documentation comments are used using the Visual J++ doc tool.
You can use documentation comments to comment th purpose and/or functionality of the current Java or program. The following is an example:
/**
Java Stuff is a program that does everything the user wants.
This program is consists of several components.
*/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment