- Single Line Comments: Starts with “//” and will end when you moved to another line
- Block Comments (Multiline Comments): Starts with “/*” and ends with “*/”
- javaDoc comments: Starts with “/**” and ends with “*/”
Example:
In this tute, comments will be shown in green color. (Any you may see java keyword in blue color) We’ll use comments along to describe sample codes in this tute.
No comments:
Post a Comment