What is function of javap command?
2021
What is function of javap command?
- A.
A command for running the Java compiler
- B.
A command that disassembles Java class files
- C.
A command for running a non-optimized version of Java compiler
- D.
A command that is used to generate API-style HTML documentation
Attempted by 133 students.
Show answer & explanation
Correct answer: B
The javap command is part of the Java Development Kit used to disassemble compiled Java class files. It converts bytecode into a human-readable format, allowing developers to inspect the structure of compiled classes without needing source code.