Originally posted by parul bajaj: java has one comment ...
/** */
how to use that please give me one example for this ..
thanks parul
BTW, this is not the only style of comment in Java. There are also // and /* ... */ comments that are exactly the same as in C++ (if you are familiar with that language). The // style comments are for a single line. The /* ... */ comments are for multiple lines. As described above, /** ... */ comments have special meaning for the Javadoc tool. You should google to find out what syntax is available for Javadoc-style comments. For one thing, you can include HTML tags since the Javadoc tool generates HTML pages for the documentation. You can also use special Javadoc tages such as @author, @return, @param, and @throws. I suggest you follow the link above to learn more about how to use these Javadoc tags.