In the beginning of a class this documentation comment appears :
* Write a description of class Book here.
* @author (your name)
* @version (a version number or a date)
obviously I know how to write author and version but what to write in the class description.
Can you expand on exactly what you mean by "write a description of a class"? Are you trying to actually write a Java class? If so, what should it do? If not, then I don't know what you're asking.
Tim Cooke wrote:Only you know what your Book class does, so only you can describe it. What you have there is JavaDoc and serves as documentation of your software so the Java compiler doesn't care what you write in there, it only serves as documentation for others to understand the purpose of that class in the context of your application. Write a description that conveys that information.
can you give another simple example like without using class book