This assignment is an introduction to Javadoc and JUnit.
/** Class Description of MyClass */
public class MyClass
{
/** Field Description of myIntField */
public int myIntField;
/** Constructor Description of MyClass() */
public MyClass()
{
// Do something ...
}
}
/** Description of MyClass
*
* @author John Doe
* @author Jane Doe
* @version 6.0z Build 9000 Jan 3, 1970.
*/
public class MyClass
{
/** Description of myIntField */
public int myIntField;
/** Description of MyClass()
*
* @throws MyException Description of myException
*/
public MyClass() throws myException
{
// Blah Blah Blah...
}
/** Description of myMethod(int a, String b)
*
* @param a Description of a
* @param b Description of b
* @return Description of c
*/
public Object myMethod(int a, String b)
{
Object c;
// Blah Blah Blah...
return c;
}
}
75 points total
Back to CSci 435/535 Homepage.
Last changed February 03 2006 10:00:46.
David Coppit,
coppit@cs.wm.edu
There have been 1221252 hits since Thu Jun 9 14:49:55 2005