Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
22
Task/Documentation/Java/documentation.java
Normal file
22
Task/Documentation/Java/documentation.java
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/**
|
||||
* This is a class documentation comment. This text shows at the top of the page for this class
|
||||
* @author Joe Schmoe
|
||||
*/
|
||||
public class Doc{
|
||||
/**
|
||||
* This is a field comment for a variable
|
||||
*/
|
||||
private String field;
|
||||
|
||||
/**
|
||||
* This is a method comment. It has parameter tags (param), an exception tag (throws),
|
||||
* and a return value tag (return).
|
||||
*
|
||||
* @param num a number with the variable name "num"
|
||||
* @throws BadException when something bad happens
|
||||
* @return another number
|
||||
*/
|
||||
public int method(long num) throws BadException{
|
||||
//...code here
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue