java.lang.ObjectTest
The class Test illustrates some features of
javadoc. Notice that javadoc assumes the class name and
can figure out the parameters in a "see" tag.
| Field Summary | |
(package private) java.lang.String |
name
A field or instance variable. |
| Constructor Summary | |
(package private) |
Test()
Creates a new instance of the class. |
| Method Summary | |
(package private) java.lang.Object |
fun(int x)
A pointless function that always returns null. |
(package private) java.lang.String |
getName()
A getter function for the field name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
java.lang.String name
| Constructor Detail |
Test()
name is set to the string "unknown".
| Method Detail |
java.lang.Object fun(int x)
null.
x - the argument to this function
null is always returnedObject,
getName(),
getName()java.lang.String getName()
name.
name.fun(int)