hey everyone,
I have a quick question, and appretiate any help given,
I need to check if my Javadoc is correct or not,
I have this assignment due, but don't know if there would be a javadoc comment for the "boolean"
I added a javadoc comment to check with you and see if this is correct.
thanx for any help given. :)
/**
* checks if a line is number or not, and then prints specified line.
* @param true prints specfied line if number is true
* @param false prints specified line if false is flase
* @return true if the input is a number, otherwise false
*/
boolean Number = true;
int r;
for (r = 0; r < input.length(); r++)
{
if(!(begin.next() == end.previous()))
{
number = false;
}
}