Do I need to javadoc every single method or just the 'main' method in java?
Posted
by Chris
on Stack Overflow
See other posts from Stack Overflow
or by Chris
Published on 2009-12-02T18:23:01Z
Indexed on
2010/04/09
12:13 UTC
Read the original article
Hit count: 340
Java example method:
//Stores the user input into an integer variable called 'choice'
int choice = keyboard.nextInt();
Do I need to write javadoc for a simple method like this or should I only document the main method of any program, if so then what sort of things should I write for the main method?
Thanks,
Chris.
© Stack Overflow or respective owner