Results 1 to 3 of 3
Thread: how to use javadoc
- 05-24-2011, 05:50 PM #1
Member
- Join Date
- May 2011
- Posts
- 20
- Rep Power
- 0
how to use javadoc
Hi,
I have a very small program....bellow is the code
class AbstractDemo {
public static void main(String args[])
{
B b = new B();
b.callme();
b.callmetoo();
}
}
abstract class A
{
abstract void callme();
void callmetoo()
{
System.out.println("This is concrete method");
}
}
class B extends A
{
void callme()
{
System.out.println("B's implementation callme");
}
}
Now question is how to create documentation for this program.
I can specify only a single source file ..
javadoc override.java
but its giving me the error ..."No public or private class found to document"
I am very new to java....so can anybody please tell me how to use this javadoc feature??
any help is appreciated!!!!
- 05-24-2011, 06:07 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,484
- Rep Power
- 16
Well, that class probably ought to be public.
Java Code:public class AbstractDemo {...}
- 05-24-2011, 06:18 PM #3
Member
- Join Date
- May 2011
- Posts
- 20
- Rep Power
- 0
Similar Threads
-
Javadoc
By JavaTheHut in forum New To JavaReplies: 4Last Post: 12-17-2010, 10:33 AM -
HOw to run ant javadoc
By Manfizy in forum New To JavaReplies: 24Last Post: 02-18-2009, 09:59 PM -
JavaDoc
By javarishi in forum EclipseReplies: 1Last Post: 04-10-2008, 08:41 AM -
what can I do with javadoc
By christina in forum Advanced JavaReplies: 1Last Post: 07-25-2007, 11:08 PM -
javadoc question
By orchid in forum New To JavaReplies: 1Last Post: 05-15-2007, 05:23 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks