0 votes
in JAVA by
Which of the following tool is used to generate API documentation in HTML format from doc comments in source code?

i) javap tool

ii) javaw command

iii) Javadoc tool

iv) javah command

1 Answer

0 votes
by

iii) Javadoc tool

Reason: The Javadoc is a tool that is used to generate API documentation in HTML format from the Java source files. In other words, it is a program (tool) that reads a collection of source files into an internal form.

The Javadoc command line syntax is,
Javadoc [options] [packagenames] [sourcefiles] [@files]

The javap tool is used to get the information of any class or interface. It is also known as a disassembler. The javaw command is identical to java that displays a window with error information, and the javah command is used to generate native method functions.

Related questions

0 votes
asked Apr 9, 2021 in JAVA by Robindeniel
0 votes
asked Apr 9, 2021 in JAVA by Robindeniel
...