Question 44Asked in DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3

What is function of javap command?

  1. AA command for running the java compiler
  2. BA command that disassembles java class files
  3. CA command for running a non-optimized version of java compiler
  4. 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.

From DSSSB TGT Computer Science PYQ (Technical), 7 Aug 2021, Shift 3

This is question 44 of DSSSB TGT Computer Science PYQ (Technical), 7 Aug 2021, Shift 3. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.