Question 44Asked in DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3What is function of javap command?
- AA command for running the java compiler
- BA command that disassembles java class files
- CA command for running a non-optimized version of java compiler
- DA command that is used to generate API-style HTML documentation
Show answerHide answer
Correct answer: (B) A command that disassembles java class files
Explanation
javap is the Java class file disassembler. It shows the fields, methods and bytecode of a .class file. javac compiles and javadoc generates HTML docs.