javap is the Java Disassembler tool which can be used to open a .class file in a readable format. javap is located in the /bin folder of the JDK installation directory. The Java Decomplier (javap) displays information about the package, protected and public fields, and methods of the classes passed to it. The javap tool prints its output to stdout. In this article lets learn how to open a .class file in java with Example using javap.
Syntax for Javap
javap <<option>> <<.class file1>> <<.class file2>>