can anyone of you tell me why they use javadoc in java programs

@megaplaza (1441)
Nigeria
March 19, 2007 10:59am CST
i want to know the essence of javadoc in java programs, i know it is somehow used to specify or make comment.
2 responses
• India
29 Mar 07
As the name suggests, javadoc is used to create documentation for any java utilities that you develop. For instance, you could write your own wrapper class for the String class and give it your own functionalities. Your javadoc would be the roadmap for the prospective users, to get to know how your methods are invoked, what their argument list consists of, and the like. If Sun incorporates your utility in the subsequent release of java, your documentation would also make it into the release and javap would have a listing for your methods.
@raghwagh (1527)
• India
19 Mar 07
Hi friend, javadoc is used in jave to make it easy create the HTML documentation for your class.Thus by providing the doc comments in a proper manner and then compiling the program by using javadoc.exe creates the html documentation for your class in the format of java documentation. Thus if you want to create a help file for your API you can easily do it using javadoc.Also the comment format is /** **/.