This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Originally posted by parul bajaj: java has one comment ...
how to use that please give me one example for this ..
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.