Comments represents description about the features of program. Comments increase readability, understandability of a program. these are non executable statements. They are 3 types.
- single line comments by using the // symbols
- multiple line comments start with /* and end with */ in berween write several lines
- java documentation comments start with /** and end with */ these are useful to create API documents from a java program. javadoc compiler is used to generate API.
No comments:
Post a Comment